summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php
diff options
context:
space:
mode:
authorwei <>2006-08-12 05:34:54 +0000
committerwei <>2006-08-12 05:34:54 +0000
commit54d4919e3f1b00b644fa3c107acdf20159a1b154 (patch)
tree1c3e9cc679d4e08cc4beb06eee6f79838a34cb31 /tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php
parent6dd529fdc25404da07cf9256d92f2a94985c65fc (diff)
Update active controls.
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php')
-rw-r--r--tests/FunctionalTests/active-controls/tests/ActiveCheckBoxTestCase.php42
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");
-
+
}
}