diff options
Diffstat (limited to 'tests/FunctionalTests/validators/tests/DatePickerTestCase.php')
-rw-r--r-- | tests/FunctionalTests/validators/tests/DatePickerTestCase.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php index 297756c2..95eb88e3 100644 --- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php +++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php @@ -17,6 +17,9 @@ class DatePickerTestCase extends SeleniumTestCase $this->click("{$base}submit1");
$this->assertVisible("{$base}validator1", "");
$this->assertNotVisible("{$base}validator2", "");
+
+ //the range validator is visible because the date is a drop down list
+ //thus has default value != ""
$this->assertVisible("{$base}validator4", "");
$this->assertVisible("{$base}validator5", "");
$this->assertNotVisible("{$base}validator6", "");
@@ -60,4 +63,4 @@ class DatePickerTestCase extends SeleniumTestCase }
-?>
\ No newline at end of file +?>
|