summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
diff options
context:
space:
mode:
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");
}
}