summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-08 16:30:58 +0200
committerDavid <ottodavid@gmx.net>2015-08-08 17:06:53 +0200
commit3d636cf2815da4b13af2db8220d0382fea59f43f (patch)
tree2872a84b24fb36d4e6310fc3a94560d20ce089f2 /tests/FunctionalTests/quickstart/Controls
parentbdfd9f07f17de1751a7e4d94940acb426af4be77 (diff)
More test fixes
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls')
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php1
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php1
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php2
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php1
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&amp;notheme=true&amp;lang=en");
$this->assertEquals("PRADO QuickStart Sample", $this->title());
+ $this->pause(100);
// step 1
$this->assertSourceContains('Step 1 of 3');