diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/ActiveCheckBoxListTestCase.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/ActiveCheckBoxListTestCase.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxListTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxListTestCase.php index af7ea1f0..a66cf853 100644 --- a/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxListTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxListTestCase.php @@ -6,42 +6,42 @@ class ActiveCheckBoxListTestCase extends SeleniumTestCase { $this->open("active-controls/index.php?page=TActiveCheckBoxListTest"); $this->verifyTextPresent("TActiveCheckBoxList Test Case"); - + $this->assertText("label1", "Label 1"); - + $this->click("button1"); - $this->pause(500); + $this->pause(800); $this->assertCheckBoxes(array(1,2,3)); - + $this->click("button2"); - $this->pause(500); + $this->pause(800); $this->assertCheckBoxes(array()); - - + + $this->click("button3"); - $this->pause(500); + $this->pause(800); $this->assertCheckBoxes(array(0)); - - + + $this->click("button4"); - $this->pause(500); + $this->pause(800); $this->assertCheckBoxes(array(4)); - - + + $this->click("button5"); - $this->pause(500); + $this->pause(800); $this->assertCheckBoxes(array(1,4)); - + $this->click("list1_c2"); - $this->pause(500); - $this->assertText("label1", "Selection: value 2, value 3, value 5"); + $this->pause(800); + $this->assertText("label1", "Selection: value 2, value 3, value 5"); $this->click("list1_c2"); - $this->pause(500); - $this->assertText("label1", "Selection: value 2, value 5"); + $this->pause(800); + $this->assertText("label1", "Selection: value 2, value 5"); } - + function assertCheckBoxes($checks, $total = 5) { for($i = 0; $i < $total; $i++) |