summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/features/tests/MyTestCase.php19
-rw-r--r--tests/FunctionalTests/quickstart/Advanced/I18N.php2
-rw-r--r--tests/FunctionalTests/validators/tests/DatePickerTestCase.php2
3 files changed, 21 insertions, 2 deletions
diff --git a/tests/FunctionalTests/features/tests/MyTestCase.php b/tests/FunctionalTests/features/tests/MyTestCase.php
new file mode 100644
index 00000000..cb26d709
--- /dev/null
+++ b/tests/FunctionalTests/features/tests/MyTestCase.php
@@ -0,0 +1,19 @@
+<?php
+
+class MyTestCase extends SeleniumTestCase
+{
+ function test1()
+ {
+ $this->open('http://127.0.0.1');
+ $this->assertTextNotPresent('asd');
+ }
+
+ function test2()
+ {
+ $this->skipBrowsers(self::FIREFOX);
+ $this->open('http://127.0.0.1');
+ $this->assertTextNotPresent('asd');
+ }
+}
+
+?> \ No newline at end of file
diff --git a/tests/FunctionalTests/quickstart/Advanced/I18N.php b/tests/FunctionalTests/quickstart/Advanced/I18N.php
index 5b2af8c4..010b7da5 100644
--- a/tests/FunctionalTests/quickstart/Advanced/I18N.php
+++ b/tests/FunctionalTests/quickstart/Advanced/I18N.php
@@ -1,4 +1,4 @@
-<?php
+<?php
//New Test
class I18NTestCase extends SeleniumTestCase
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php
index 75894dc0..8c40ee65 100644
--- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php
+++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php
@@ -17,7 +17,7 @@ class DatePickerTestCase extends SeleniumTestCase
$this->click("{$base}submit1");
$this->assertVisible("{$base}validator1", "");
$this->assertNotVisible("{$base}validator2", "");
- $this->assertVisible("{$base}validator4", "");
+ $this->assertNotVisible("{$base}validator4", "");
$this->assertVisible("{$base}validator5", "");
$this->assertNotVisible("{$base}validator6", "");
$this->assertVisible("{$base}validator8", "");