diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php')
-rwxr-xr-x | tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php b/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php index 2b1eec75..49c268ad 100755 --- a/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php @@ -6,11 +6,11 @@ class DelayedCallbackTestCase extends PradoGenericSelenium2Test { $base='ctl0_Content_'; $this->url("active-controls/index.php?page=DelayedCallback"); - $this->assertTextPresent("Delayed Callback Test"); + $this->assertContains("Delayed Callback Test", $this->source()); $this->assertText("{$base}status", ""); - $this->click("{$base}button1"); - $this->click("{$base}button2"); + $this->byId("{$base}button1")->click(); + $this->byId("{$base}button2")->click(); $this->pause("5000"); $this->assertText("{$base}status", "Callback 1 returned after 4s"); |