diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php index 30dda753..6bf00f05 100644 --- a/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php @@ -6,55 +6,55 @@ class ActiveCheckBoxTestCase extends SeleniumTestCase { $this->open("active-controls/index.php?page=ActiveCheckBoxTest"); $this->verifyTextPresent("Active CheckBox Test"); - + $this->assertText("checkbox1_label", "CheckBox 1"); $this->assertText("checkbox2_label", "CheckBox 2"); $this->assertText('label1', 'Label 1'); - + $this->click("change_text1"); - $this->pause(500); + $this->pause(800); $this->assertText('checkbox1_label', 'Hello CheckBox 1'); - + $this->click("change_text2"); - $this->pause(500); + $this->pause(800); $this->assertText('checkbox2_label', 'CheckBox 2 World'); - + //check box 1 $this->click('change_checked1'); - $this->pause(500); + $this->pause(800); $this->assertChecked('checkbox1'); - + $this->click('change_checked1'); - $this->pause(500); + $this->pause(800); $this->assertNotChecked('checkbox1'); //check box 2 $this->click('change_checked2'); - $this->pause(500); + $this->pause(800); $this->assertChecked('checkbox2'); - + $this->click('change_checked2'); - $this->pause(500); + $this->pause(800); $this->assertNotChecked('checkbox2'); - + //click checkbox 1 $this->click("checkbox1"); - $this->pause(500); + $this->pause(800); $this->assertText("label1", "Label 1:Hello CheckBox 1 Checked"); - + $this->click("checkbox1"); - $this->pause(500); + $this->pause(800); $this->assertText("label1", "Label 1:Hello CheckBox 1 Not Checked"); - + //click checkbox 2 $this->click("checkbox2"); - $this->pause(500); + $this->pause(800); $this->assertText("label1", "Label 1:CheckBox 2 World Checked"); - + $this->click("checkbox2"); - $this->pause(500); + $this->pause(800); $this->assertText("label1", "Label 1:CheckBox 2 World Not Checked"); - + } } |