diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket21TestCase.php')
-rwxr-xr-x | tests/FunctionalTests/tickets/tests/Ticket21TestCase.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php index 7a245111..b9a0f0c9 100755 --- a/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php @@ -6,9 +6,9 @@ class Ticket21TestCase extends PradoGenericSelenium2Test { $this->url('tickets/index.php?page=Ticket21'); $this->assertEquals($this->title(), "Verifying Ticket 21"); - $this->clickAndWait("ctl0_Content_button1"); - $this->assertTextPresent("Radio button clicks: 1", ""); - $this->click("ctl0_Content_button1"); - $this->assertTextPresent("Radio button clicks: 1", ""); + $this->byId("ctl0_Content_button1")->click(); + $this->assertContains("Radio button clicks: 1", $this->source()); + $this->byId("ctl0_Content_button1")->click(); + $this->assertContains("Radio button clicks: 1", $this->source()); } } |