diff options
author | tof <> | 2008-04-11 08:23:36 +0000 |
---|---|---|
committer | tof <> | 2008-04-11 08:23:36 +0000 |
commit | 4ab766dc6ca1d5e294d2b2f34d2198ce9583fbd2 (patch) | |
tree | d2b2918fa7b55cdfee8b2f9537ac48a27bce55fd /tests/FunctionalTests/tickets/tests/Ticket828TestCase.php | |
parent | 247e58768c624174c649f9680a638fcbb8ecd0f0 (diff) |
TestCase for #828
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket828TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket828TestCase.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket828TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket828TestCase.php new file mode 100644 index 00000000..0c753a63 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket828TestCase.php @@ -0,0 +1,41 @@ +<?php +class Ticket828TestCase extends SeleniumTestCase +{ + + function test() + { + //problem with test runner clicking on radio buttons + $this->skipBrowsers(self::OPERA); + + $base = "ctl0_Content_"; + $this->open("tickets/index.php?page=Ticket828"); + $this->click("{$base}submit1"); + $this->assertVisible("{$base}validator1"); + $this->assertVisible("{$base}validator2"); + $this->assertVisible("{$base}validator3"); + $this->click("{$base}list1_c0"); + $this->addSelection("{$base}list2", "label=One"); + $this->addSelection("{$base}list2", "label=Two"); + $this->click("{$base}list3_c3"); + $this->clickAndWait("{$base}submit1"); + $this->assertNotVisible("{$base}validator1"); + $this->assertNotVisible("{$base}validator2"); + $this->assertNotVisible("{$base}validator3"); + $this->click("{$base}list1_c1"); + $this->click("{$base}list1_c2"); + $this->click("{$base}list1_c3"); + $this->addSelection("{$base}list2", "label=Two"); + $this->click("{$base}list1_c3"); + $this->clickAndWait("{$base}submit1"); + $this->assertNotVisible("{$base}validator1"); + $this->assertNotVisible("{$base}validator2"); + $this->assertNotVisible("{$base}validator3"); + $this->click("{$base}list3_c3"); + $this->clickAndWait("{$base}submit1"); + $this->pause(200); + $this->assertNotVisible("{$base}validator1"); + $this->assertNotVisible("{$base}validator2"); + $this->assertNotVisible("{$base}validator3"); + } +} +?>
\ No newline at end of file |