diff options
author | David <ottodavid@gmx.net> | 2014-08-22 11:39:55 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-08-22 11:54:14 +0200 |
commit | 6c6c4821c5a28df7d80cc414a7cf64025859c194 (patch) | |
tree | 39cc2bca3e99bacb531904bda4577253647443ea /tests/FunctionalTests/quickstart | |
parent | bf4b31eae07e4c7debf391f90a163b01b0e8c930 (diff) |
Fix failing test cases
because of timing issues
Diffstat (limited to 'tests/FunctionalTests/quickstart')
-rwxr-xr-x | tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php | 1 | ||||
-rwxr-xr-x | tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php index f0e88996..e87b9072 100755 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php @@ -42,6 +42,7 @@ class QuickstartDataGrid3TestCase extends PradoGenericSelenium2Test $this->assertEquals("Are you sure?", $this->alertText()); $this->acceptAlert(); + $this->pause(500); $this->assertNotContains("Design Patterns Explained : A New Perspective on Object-Oriented Design", $this->source()); $this->assertContains("Extreme Programming Explained : Embrace Change", $this->source()); diff --git a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php index 911fdc93..c21d71f3 100755 --- a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php @@ -48,6 +48,7 @@ class QuickstartDataList2TestCase extends PradoGenericSelenium2Test $this->assertEquals("Are you sure?", $this->alertText()); $this->acceptAlert(); + $this->pause(300); // wait for reload $this->byId("ctl0_body_DataList_ctl5_ctl2")->click(); $this->assertEquals("Are you sure?", $this->alertText()); |