summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorwei <>2006-09-30 05:18:39 +0000
committerwei <>2006-09-30 05:18:39 +0000
commit7eafd95bfa21c9c8603e9c437a9d96dc880d92e7 (patch)
tree9ebe3012fc2a931a7a9e1d0c1b3eef33b1ed16ba /tests/FunctionalTests
parent36a61db3144c111b722db89baf5a1d55c1c9a6b2 (diff)
Update selenium to 0.8
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 6d81d3b1..8f1e88c1 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", "");