From 4ef09ccaf27e31ac5112b2846c253a2877f8a520 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 30 Sep 2013 14:43:26 +0200 Subject: Ported all the remaining quickstart functional tests --- tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/FunctionalTests/validators') diff --git a/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php b/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php index 5ec5f065..7ec220f0 100755 --- a/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php +++ b/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php @@ -7,6 +7,7 @@ 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", ""); @@ -15,7 +16,7 @@ class DataTypeValidatorTestCase extends PradoGenericSeleniumTest $this->assertNotVisible("{$base}validator1"); $this->assertNotVisible("{$base}validator2"); $this->assertNotVisible("{$base}validator3"); - + $this->type("{$base}textbox1", "a"); $this->type("{$base}textbox2", "b"); $this->type("{$base}textbox3", "c"); @@ -42,6 +43,7 @@ class DataTypeValidatorTestCase extends PradoGenericSeleniumTest $this->assertVisible("{$base}validator1"); $this->assertNotVisible("{$base}validator2"); $this->assertVisible("{$base}validator3"); + $this->setSpeed(0); } } -- cgit v1.2.3