diff options
author | wei <> | 2006-01-25 10:55:13 +0000 |
---|---|---|
committer | wei <> | 2006-01-25 10:55:13 +0000 |
commit | 857c6d6cc7ea52d263c91693aeed3923d6073ba7 (patch) | |
tree | 2b0f8d043633dfdc8e06c8b743c835ec714be12a /tests/FunctionalTests/protected/pages/Validation | |
parent | 5ee831adf170b0ff12abd0e5276498ccaefffeee (diff) |
Update BasicI18N.page
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/CheckBox.php | 2 | ||||
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php index 7eba9317..6e2d8ee5 100644 --- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php +++ b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php @@ -9,7 +9,7 @@ class CheckBox extends TPage }
}
-class CheckBoxTestCase extends SeleniumTestCase
+class CheckBoxTestCase2 extends SeleniumTestCase
{
function setup()
{
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php index ff24b93a..0399d4a3 100644 --- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php +++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php @@ -19,12 +19,12 @@ class RequiredFieldTestCase extends SeleniumTestCase function testValidator()
{
$this->assertTextPresent("Basic TRequiredFieldValidator Test1");
- $this->assertNotVisible("validator1");
- $this->click("button1");
- $this->assertVisible("validator1");
- $this->type("text1", "test");
- $this->clickAndWait("button1");
- $this->assertNotVisible("validator1");
+ $this->assertNotVisible("ctl0_Content_validator1");
+ $this->click("ctl0_Content_button1");
+ $this->assertVisible("ctl0_Content_validator1");
+ $this->type("ctl0_Content_text1", "test");
+ $this->clickAndWait("ctl0_Content_button1");
+ $this->assertNotVisible("ctl0_Content_validator1");
}
}
|