From 7eafd95bfa21c9c8603e9c437a9d96dc880d92e7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 30 Sep 2006 05:18:39 +0000 Subject: Update selenium to 0.8 --- tests/FunctionalTests/features/tests/MyTestCase.php | 19 +++++++++++++++++++ tests/FunctionalTests/quickstart/Advanced/I18N.php | 2 +- .../validators/tests/DatePickerTestCase.php | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 tests/FunctionalTests/features/tests/MyTestCase.php (limited to 'tests/FunctionalTests') 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 @@ +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 @@ -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", ""); -- cgit v1.2.3