From 857c6d6cc7ea52d263c91693aeed3923d6073ba7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 25 Jan 2006 10:55:13 +0000 Subject: Update BasicI18N.page --- .../protected/pages/Validation/RequiredFieldValidator.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php') 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"); } } -- cgit v1.2.3