diff options
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls')
4 files changed, 4 insertions, 1 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php index 66630581..ee9bd504 100755 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php @@ -107,6 +107,7 @@ class QuickstartDataGrid5TestCase extends PradoGenericSelenium2Test $this->type("ctl0\$body\$PageButtonCount", "10"); $this->byName("ctl0\$body\$ctl6")->click(); + $this->pause(50); $this->type("ctl0\$body\$PageSize", "2"); $this->pause(50); $this->byName("ctl0\$body\$ctl8")->click(); diff --git a/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php b/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php index 091b3db8..4dbc19de 100755 --- a/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php @@ -20,6 +20,7 @@ class QuickstartMultiViewTestCase extends PradoGenericSelenium2Test $this->assertSourceContains('Your text input is: test'); $this->assertSourceContains('Your color choice is: Red'); $this->byName('ctl0$body$ctl7')->click(); + $this->pause(50); // view 2 : update dropdownlist $this->assertElementNotPresent('ctl0_body_Result1'); diff --git a/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php b/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php index 3865e33d..0e9fa4db 100755 --- a/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php @@ -49,6 +49,7 @@ class QuickstartTextBoxTestCase extends PradoGenericSelenium2Test // SafeText $this->assertText("ctl0_body_Output","test"); $this->typeSpecial("ctl0\$body\$TextBox2","<a href=javascript:xxx>malicious code</a>"); + $this->pause(50); $this->assertText("ctl0_body_Output","malicious code"); // password @@ -83,7 +84,6 @@ End of message // textbox associated with a validator $this->assertNotVisible('ctl0_body_ctl15'); $this->typeSpecial("ctl0\$body\$MultiTextBox3", "demo"); -// $this->pause(1000); $this->assertVisible('ctl0_body_ctl15'); $this->typeSpecial("ctl0\$body\$MultiTextBox3", "non demo"); $this->assertNotVisible('ctl0_body_ctl15'); diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php index 469fbf5a..33a8b769 100755 --- a/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php @@ -7,6 +7,7 @@ class QuickstartWizard4TestCase extends PradoGenericSelenium2Test $this->url("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample4&notheme=true&lang=en"); $this->assertEquals("PRADO QuickStart Sample", $this->title()); + $this->pause(100); // step 1 $this->assertSourceContains('Step 1 of 3'); |