summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-06 22:34:49 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-01-06 22:34:49 +0100
commit5d9f6fc77131d75e6c73a7e57df8d967b6b09215 (patch)
tree6dc4083ddb2e40b3616e5be795725f901df42fc5 /tests/FunctionalTests/validators
parentc09ff85baefcd84e399ca7987c738a76865732ab (diff)
Fixed some function tests; start working on porting them to Selenium2 interface
Diffstat (limited to 'tests/FunctionalTests/validators')
-rwxr-xr-xtests/FunctionalTests/validators/tests/DatePickerTestCase.php2
-rwxr-xr-xtests/FunctionalTests/validators/tests/RequiredFieldTestCase.php2
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");