diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket477TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket477TestCase.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php new file mode 100644 index 00000000..ea32ff5f --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php @@ -0,0 +1,24 @@ +<?php +
+class Ticket477TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket477');
+ $this->assertTitle("Verifying Ticket 477");
+ $this->assertNotVisible("{$base}validator1");
+ $this->assertNotVisible("{$base}validator2");
+
+ $this->clickAndWait("{$base}list1_c1");
+ $this->assertVisible("{$base}validator1");
+ $this->assertNotVisible("{$base}validator2");
+
+
+ $this->clickAndWait("{$base}list2_c1");
+ $this->assertNotVisible("{$base}validator1");
+ $this->assertVisible("{$base}validator2");
+ }
+}
+ +?>
\ No newline at end of file |