From 857c6d6cc7ea52d263c91693aeed3923d6073ba7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 25 Jan 2006 10:55:13 +0000 Subject: Update BasicI18N.page --- .gitattributes | 1 - .../protected/pages/I18N/BasicI18N.page | 2 +- .../protected/pages/Validation/CheckBox.php | 2 +- .../pages/Validation/RequiredFieldValidator.php | 12 ++++++------ tests/FunctionalTests/protected/pages/config.xml | 1 + .../protected/tests/HomePageTest.php | 21 --------------------- 6 files changed, 9 insertions(+), 30 deletions(-) delete mode 100644 tests/FunctionalTests/protected/tests/HomePageTest.php diff --git a/.gitattributes b/.gitattributes index 11565ffe..e463bbfe 100644 --- a/.gitattributes +++ b/.gitattributes @@ -642,7 +642,6 @@ tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php -tex tests/FunctionalTests/protected/pages/ViewSource.page -text tests/FunctionalTests/protected/pages/ViewSource.php -text tests/FunctionalTests/protected/pages/config.xml -text -tests/FunctionalTests/protected/tests/HomePageTest.php -text tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php -text tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php -text tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php -text diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page index f4ef35d2..d4725015 100644 --- a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page +++ b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page @@ -13,7 +13,7 @@
-
+
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"); } } diff --git a/tests/FunctionalTests/protected/pages/config.xml b/tests/FunctionalTests/protected/pages/config.xml index 1a551a90..b7007323 100644 --- a/tests/FunctionalTests/protected/pages/config.xml +++ b/tests/FunctionalTests/protected/pages/config.xml @@ -3,6 +3,7 @@ + diff --git a/tests/FunctionalTests/protected/tests/HomePageTest.php b/tests/FunctionalTests/protected/tests/HomePageTest.php deleted file mode 100644 index 777f27fd..00000000 --- a/tests/FunctionalTests/protected/tests/HomePageTest.php +++ /dev/null @@ -1,21 +0,0 @@ - - * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $ - * @package ${package} - */ -class HomePageTest extends SeleniumTestCase -{ - function testHomePage() - { - $this->open("tests.php"); - $this->verifyTitle("Prado Functional Tests"); - } -} - -?> \ No newline at end of file -- cgit v1.2.3