summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-11-24 23:47:44 +0100
committerFabio Bas <ctrlaltca@gmail.com>2013-11-26 11:42:53 +0100
commitaafdbae23b0669f098f94e0377ead6c6ae9ccf75 (patch)
tree4ef6bc74a3612ef583a81aeb225c44b2d68ba6e6 /tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
parentd564ec922a468fd8e32df4ccbe6e64d66252efc2 (diff)
Ported some tests
Diffstat (limited to 'tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php')
-rwxr-xr-xtests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php b/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
index 7ec220f0..58a74fe4 100755
--- a/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
@@ -7,11 +7,11 @@ class DataTypeValidatorTestCase extends PradoGenericSeleniumTest
{
function test()
{
- $this->setSpeed(500);
$base = "ctl0_Content_";
$this->open("validators/index.php?page=DataTypeValidator", "");
$this->verifyTextPresent("Data Type Validator Tests", "");
$this->click("//input[@type='submit' and @value='submit!']", "");
+ $this->pause(500);
$this->assertNotVisible("{$base}validator1");
$this->assertNotVisible("{$base}validator2");
@@ -21,6 +21,7 @@ class DataTypeValidatorTestCase extends PradoGenericSeleniumTest
$this->type("{$base}textbox2", "b");
$this->type("{$base}textbox3", "c");
$this->click("//input[@type='submit' and @value='submit!']", "");
+ $this->pause(500);
$this->assertVisible("{$base}validator1");
$this->assertVisible("{$base}validator2");
@@ -39,11 +40,11 @@ class DataTypeValidatorTestCase extends PradoGenericSeleniumTest
$this->type("{$base}textbox2", "-12.5");
$this->type("{$base}textbox3", "2/13/2005");
$this->click("//input[@type='submit' and @value='submit!']", "");
+ $this->pause(500);
$this->assertVisible("{$base}validator1");
$this->assertNotVisible("{$base}validator2");
$this->assertVisible("{$base}validator3");
- $this->setSpeed(0);
}
}