summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php')
-rw-r--r--tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php60
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php b/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
index 3a5daa6a..c5cbae8e 100644
--- a/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
@@ -1,31 +1,31 @@
-<?php
-
-//New Test
-class CustomValidatorTestCase extends SeleniumTestCase
-{
- function test()
- {
- $base = "ctl0_Content_";
- $this->open("validators/index.php?page=CustomValidator", "");
- $this->assertTextPresent("Prado CustomValidator Tests", "");
- $this->assertNotVisible("{$base}validator1");
-
- $this->click("//input[@type='submit' and @value='Test']", "");
- $this->assertVisible("{$base}validator1");
-
- $this->type("{$base}text1", "Prado");
- $this->pause(250);
- $this->assertNotVisible("{$base}validator1");
- $this->type("{$base}text1", "Testing");
- $this->pause(250);
- $this->assertVisible("{$base}validator1");
- $this->type("{$base}text1", "Prado");
- $this->pause(250);
- $this->assertNotVisible("{$base}validator1");
- $this->clickAndWait("//input[@type='submit' and @value='Test']", "");
- $this->assertNotVisible("{$base}validator1");
-
- }
-}
-
+<?php
+
+//New Test
+class CustomValidatorTestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = "ctl0_Content_";
+ $this->open("validators/index.php?page=CustomValidator", "");
+ $this->assertTextPresent("Prado CustomValidator Tests", "");
+ $this->assertNotVisible("{$base}validator1");
+
+ $this->click("//input[@type='submit' and @value='Test']", "");
+ $this->assertVisible("{$base}validator1");
+
+ $this->type("{$base}text1", "Prado");
+ $this->pause(250);
+ $this->assertNotVisible("{$base}validator1");
+ $this->type("{$base}text1", "Testing");
+ $this->pause(250);
+ $this->assertVisible("{$base}validator1");
+ $this->type("{$base}text1", "Prado");
+ $this->pause(250);
+ $this->assertNotVisible("{$base}validator1");
+ $this->clickAndWait("//input[@type='submit' and @value='Test']", "");
+ $this->assertNotVisible("{$base}validator1");
+
+ }
+}
+
?> \ No newline at end of file