diff options
Diffstat (limited to 'tests/FunctionalTests/protected')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/CheckBox.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php index df6ff310..0a742abe 100644 --- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php +++ b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php @@ -23,8 +23,16 @@ class CheckBoxTestCase extends SeleniumTestCase //test checkbox 2 should fire the validator
$this->assertNotVisible("ctl0_Content_validator1");
$this->click("ctl0_Content_checkbox2");
- $this->pasue(100);
+ $this->pause(100);
$this->assertVisible("ctl0_Content_validator1");
+
+ //write some text, and see what it
+ $this->type('ctl0_Content_TextBox', "hello");
+ $this->pause(100);
+ $this->assertNotVisibe("ctl0_Content_validator1");
+ $this->clickAndWait("ctl0_Content_checkbox2"); //submit
+ $this->assertNotVisibe("ctl0_Content_validator1");
+
}
}
|