diff options
author | wei <> | 2006-01-22 00:29:47 +0000 |
---|---|---|
committer | wei <> | 2006-01-22 00:29:47 +0000 |
commit | 35c04a223ffde74a1387e9df9dff5d6dfb1cfcd7 (patch) | |
tree | 38902b7cdf2ebd797c9b9ca8b29e5e1e2313f094 /tests/FunctionalTests/protected/pages/Validation/CheckBox.php | |
parent | 101d1733f1ed5421161ee40c02d91e55ef9eafcb (diff) |
Update checkbox test.
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/CheckBox.php')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/CheckBox.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php index b85bf383..5f5d5a41 100644 --- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php +++ b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php @@ -18,13 +18,13 @@ class CheckBoxTestCase extends SeleniumTestCase function testValidator()
{
- $this->assertTextPresent("Basic TRequiredFieldValidator Test1");
+ $this->verifyTitle("An AutoPostBack CheckBox");
+
+ //test checkbox 2 should fire the validator
$this->assertNotVisible("validator1");
- $this->click("button1");
+ $this->click("checkbox2");
+ $this->pasue(100);
$this->assertVisible("validator1");
- $this->type("text1", "test");
- $this->clickAndWait("button1");
- $this->assertNotVisible("validator1");
}
}
|