summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorioguix2010-08-06 19:07:23 +0000
committerioguix2010-08-06 19:07:23 +0000
commitb1b86a82fa2c5336540c0c74eedd41e2dc47dcb3 (patch)
treefed5eb66dcd7c49f08d8d09b2177708da70d2d58
parent997b5fb73dff8692457a4fbf104e3b00f8f173fc (diff)
Fix selenium test for column
Patch for highliting rows on overflow broke it.
-rw-r--r--tests/selenium/src/25-column.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/selenium/src/25-column.php b/tests/selenium/src/25-column.php
index 20ebd73d..2896797b 100644
--- a/tests/selenium/src/25-column.php
+++ b/tests/selenium/src/25-column.php
@@ -62,10 +62,10 @@ $t->type('comment', 'altered col to drop');
$t->clickAndWait("//input[@value='Alter']");
$t->assertText("//p[@class='message']", $lang['strcolumnaltered']);
$t->assertText("//p[@class='comment']", 'altered col to drop');
-$t->assertText("//tr/td[1 and @class='data1']/", 'altered_col');
-$t->assertText("//tr/td[text()='altered_col']/../td[2]", $current_type);
-$t->assertText("//tr/td[text()='altered_col']/../td[3]", 'NOT NULL');
-$t->assertText("//tr/td[text()='altered_col']/../td[4]", "{$current_default}*");
+$t->assertText("//tr/th[text()='{$lang['strcolumn']}']/../../tr[2]/td[1]", 'altered_col');
+$t->assertText("//tr/td[1 and text()='altered_col']/../td[2]", $current_type);
+$t->assertText("//tr/td[1 and text()='altered_col']/../td[3]", 'NOT NULL');
+$t->assertText("//tr/td[1 and text()='altered_col']/../td[4]", "{$current_default}*");
/** 3 **/
$t->addComment('3. alter column fail');
@@ -91,4 +91,4 @@ $t->clickAndWait("//tr/td/a[text()='altered_col']"); //fail
$t->logout();
$t->writeTests("{$test_static_dir}/{$server['desc']}/column.html", $testsuite_file);
unset($t);
-?> \ No newline at end of file
+?>