diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php')
-rwxr-xr-x | tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php index 47a90851..6329d826 100755 --- a/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php @@ -6,11 +6,11 @@ class ActiveHyperLinkTestCase extends PradoGenericSelenium2Test { $base='ctl0_Content_'; $this->url("active-controls/index.php?page=ActiveHyperLinkTest"); - $this->assertTextPresent("Active HyperLink Test Case"); + $this->assertContains("Active HyperLink Test Case", $this->source()); $this->assertText("{$base}link1", "Link 1"); - $this->click("{$base}button1"); + $this->byId("{$base}button1")->click(); $this->pause(800); $this->assertText("{$base}link1", "Pradosoft.com"); } |