diff options
author | wei <> | 2006-10-21 02:46:12 +0000 |
---|---|---|
committer | wei <> | 2006-10-21 02:46:12 +0000 |
commit | 68eb20ae56e35cc48982be6f15c0738a276c3684 (patch) | |
tree | 520ce7d2d4f72ae3bd326b586be6f0cc1a38afb6 /tests/FunctionalTests/validators/tests | |
parent | 5d6b7068de8768d56c4731cc7301438b69354d57 (diff) |
update ajax callback to be quequed
Diffstat (limited to 'tests/FunctionalTests/validators/tests')
-rw-r--r-- | tests/FunctionalTests/validators/tests/DatePickerTestCase.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php index 8c40ee65..297756c2 100644 --- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php +++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php @@ -3,7 +3,7 @@ class DatePickerTestCase extends SeleniumTestCase
{
function test()
- {
+ {
$base = "ctl0_Content_";
$this->open("validators/index.php?page=DatePicker", "");
$this->verifyTextPresent("Date Picker validation Test", "");
@@ -13,15 +13,15 @@ class DatePickerTestCase extends SeleniumTestCase $this->assertNotVisible("{$base}validator5", "");
$this->assertNotVisible("{$base}validator6", "");
$this->assertNotVisible("{$base}validator8", "");
-
+
$this->click("{$base}submit1");
$this->assertVisible("{$base}validator1", "");
$this->assertNotVisible("{$base}validator2", "");
- $this->assertNotVisible("{$base}validator4", "");
+ $this->assertVisible("{$base}validator4", "");
$this->assertVisible("{$base}validator5", "");
$this->assertNotVisible("{$base}validator6", "");
$this->assertVisible("{$base}validator8", "");
-
+
$this->click("{$base}submit1");
$this->type("{$base}picker1", "13/4/2006");
$this->select("{$base}picker2_month", "label=9");
@@ -34,30 +34,30 @@ class DatePickerTestCase extends SeleniumTestCase $this->select("{$base}picker6_month", "label=3");
$this->select("{$base}picker6_year", "label=2007");
$this->select("{$base}picker6_day", "label=5");
-
+
$this->click("{$base}submit1");
-
+
$this->assertNotVisible("{$base}validator1", "");
$this->assertVisible("{$base}validator2", "");
$this->assertNotVisible("{$base}validator4", "");
$this->assertNotVisible("{$base}validator5", "");
$this->assertVisible("{$base}validator6", "");
- $this->assertVisible("{$base}validator8", "");
-
+ $this->assertVisible("{$base}validator8", "");
+
$this->type("{$base}picker1", "20/4/2007");
$this->type("{$base}picker4", "29/4/2006");
- $this->select("{$base}picker6_day", "label=10");
-
+ $this->select("{$base}picker6_day", "label=10");
+
$this->clickAndWait("{$base}submit1");
-
+
$this->assertNotVisible("{$base}validator1", "");
$this->assertNotVisible("{$base}validator2", "");
$this->assertNotVisible("{$base}validator4", "");
$this->assertNotVisible("{$base}validator5", "");
$this->assertNotVisible("{$base}validator6", "");
- $this->assertNotVisible("{$base}validator8", "");
+ $this->assertNotVisible("{$base}validator8", "");
}
-
+
}
?>
\ No newline at end of file |