diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:34:49 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:34:49 +0100 |
commit | 5d9f6fc77131d75e6c73a7e57df8d967b6b09215 (patch) | |
tree | 6dc4083ddb2e40b3616e5be795725f901df42fc5 /tests/FunctionalTests/validators | |
parent | c09ff85baefcd84e399ca7987c738a76865732ab (diff) |
Fixed some function tests; start working on porting them to Selenium2 interface
Diffstat (limited to 'tests/FunctionalTests/validators')
-rwxr-xr-x | tests/FunctionalTests/validators/tests/DatePickerTestCase.php | 2 | ||||
-rwxr-xr-x | tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php index ab37ec06..bbefd2a7 100755 --- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php +++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php @@ -28,8 +28,6 @@ class DatePickerTestCase extends PradoGenericSeleniumTest $this->assertNotVisible("{$base}validator6", ""); $this->assertVisible("{$base}validator8", ""); - $this->clickAndWait("{$base}submit1"); - $this->type("{$base}picker1", "13/4/$year"); $this->select("{$base}picker2_month", "label=9"); $this->select("{$base}picker2_day", "label=10"); diff --git a/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php b/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php index f8b54eb0..8ee278f8 100755 --- a/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php +++ b/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php @@ -48,7 +48,7 @@ class RequiredFieldTestCase extends PradoGenericSeleniumTest $this->type("{$base}text1", "Hello"); $this->click("{$base}check1"); - $this->click("{$base}submit2"); + $this->clickAndWait("{$base}submit2"); $this->assertNotVisible("{$base}validator5"); $this->assertNotVisible("{$base}validator6"); |