diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-04-30 07:37:48 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-04-30 07:37:48 +0300 |
commit | e548d0802b05579c22d95aadd26ea9b0bba11fb6 (patch) | |
tree | 6bd98c209f7f7495c0b36d91b3cddbbf74806490 /test | |
parent | cf040c13ad55de9b480b6ca2cffc70c04b633a7b (diff) |
Fix TableCreateTest::testCreateTable Selenium test
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/selenium/TableCreateTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/selenium/TableCreateTest.php b/test/selenium/TableCreateTest.php index ad3f62265a..17a893a490 100644 --- a/test/selenium/TableCreateTest.php +++ b/test/selenium/TableCreateTest.php @@ -54,8 +54,8 @@ class TableCreateTest extends TestBase $this->waitAjax(); $this->waitForElement('byName', 'do_save_data'); - $this->waitForElement('byId', "field_1_6")->click(); // null - $this->waitForElement('byId', "field_0_8")->click(); // auto increment + $this->waitForElement('byId', "field_1_7")->click(); // null + $this->waitForElement('byId', "field_0_9")->click(); // auto increment // Do this separately since this opens a dialog // Since auto-increment auto sets a PRIMARY key since no key present @@ -66,10 +66,10 @@ class TableCreateTest extends TestBase $column_text_details = array( "field_0_1" => "test_id", "field_0_3" => "14", - "field_0_9" => "comm1", + "field_0_10" => "comm1", "field_1_1" => "test_column", "field_1_3" => "10", - "field_1_9" => "comm2", + "field_1_10" => "comm2", ); foreach ($column_text_details as $field => $val) { @@ -77,7 +77,7 @@ class TableCreateTest extends TestBase } $column_dropdown_details = array( - "field_0_5" => "UNSIGNED", + "field_0_6" => "UNSIGNED", "field_1_2" => "VARCHAR", "field_1_5" => "utf8_general_ci", "field_1_4" => "As defined:" |