diff options
author | David <ottodavid@gmx.net> | 2015-08-06 18:12:45 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-06 18:14:04 +0200 |
commit | bdfd9f07f17de1751a7e4d94940acb426af4be77 (patch) | |
tree | 093d0e40504e0ece761733780934e0d6f09888fe /tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php | |
parent | 1feb1e95660fdfeb5b6d9e12c6fe085aa2bec5ad (diff) |
Fix tests
work around stale references by explicitly waiting
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php')
-rwxr-xr-x | tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php b/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php index 97b4863d..d1dc00e1 100755 --- a/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php @@ -10,14 +10,19 @@ class QuickstartLinkButtonTestCase extends PradoGenericSelenium2Test // regular buttons $this->byLinkText("link button")->click(); + $this->pause(50); $this->byXPath("//a[contains(text(),'body content')]")->click(); + $this->pause(50); // a click button $this->byLinkText("click me")->click(); + $this->pause(50); $this->byLinkText("I'm clicked")->click(); + $this->pause(50); // a command button $this->byLinkText("click me")->click(); + $this->pause(50); $this->byXPath("//a[contains(text(),'Name: test, Param: value')]")->click(); // a button causing validation |