summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
diff options
context:
space:
mode:
authorwei <>2006-01-25 10:55:13 +0000
committerwei <>2006-01-25 10:55:13 +0000
commit857c6d6cc7ea52d263c91693aeed3923d6073ba7 (patch)
tree2b0f8d043633dfdc8e06c8b743c835ec714be12a /tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
parent5ee831adf170b0ff12abd0e5276498ccaefffeee (diff)
Update BasicI18N.page
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php')
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php12
1 files changed, 6 insertions, 6 deletions
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");
}
}