diff options
author | tof <> | 2007-09-25 13:17:38 +0000 |
---|---|---|
committer | tof <> | 2007-09-25 13:17:38 +0000 |
commit | c67e6384d8d0695bf20693674ecfcec019ec5015 (patch) | |
tree | cf8a41797540250118b73209c547abe096ddbcb4 /tests/FunctionalTests/tickets/tests | |
parent | fff38f77a0234c8827a898a81e2d71278de0f302 (diff) |
Add Ticket #679 testcase
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket679TestCase.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php new file mode 100644 index 00000000..9ab29115 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php @@ -0,0 +1,37 @@ +<?php +class Ticket679TestCase extends SeleniumTestCase +{ + function test() + { + $base = 'ctl0_Content_'; + $this->open('tickets/index.php?page=Ticket679'); + $this->assertTitle("Verifying Ticket 679"); + + // First part of ticket : Repeater bug + $this->click($base."ctl0"); + $this->pause(800); + $this->assertText($base."myLabel",'outside'); + $this->verifyVisible($base."myLabel"); + + // Reload completly the page + $this->refresh(); + $this->pause(800); + + $this->click($base."Repeater_ctl0_ctl0"); + $this->pause(800); + $this->assertText($base."myLabel",'inside'); + $this->verifyVisible($base."myLabel"); + + // Second part of ticket : ARB bug + $this->verifyNotChecked($base."myRadioButton"); + $this->click($base."ctl1"); + $this->pause(800); + $this->verifyChecked($base."myRadioButton"); + $this->click($base."ctl2"); + $this->pause(800); + $this->verifyNotChecked($base."myRadioButton"); + $this->pause(800); + } + +} +?>
\ No newline at end of file |