Skip to content

Commit

Permalink
Fix selenium test for column
Browse files Browse the repository at this point in the history
Patch for highliting rows on overflow broke it.
  • Loading branch information
ioguix committed Aug 6, 2010
1 parent 997b5fb commit b1b86a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/selenium/src/25-column.php
Expand Up @@ -62,10 +62,10 @@
$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');
Expand All @@ -91,4 +91,4 @@
$t->logout();
$t->writeTests("{$test_static_dir}/{$server['desc']}/column.html", $testsuite_file);
unset($t);
?>
?>

0 comments on commit b1b86a8

Please sign in to comment.