diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket659TestCase.php')
-rwxr-xr-x | tests/FunctionalTests/tickets/tests/Ticket659TestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php index bb1a021d..d5d73bc8 100755 --- a/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket659TestCase.php @@ -8,13 +8,13 @@ class Ticket659TestCase extends PradoGenericSelenium2Test // Normal component (working) $this->url('tickets/index.php?page=ToggleTest'); $this->assertText("${base}lbl", "Down"); - $this->click("${base}btn", ""); + $this->byId("${base}btn")->click(); $this->pause(800); $this->assertText("${base}lbl", "Up"); // Extended component (not working) $this->url('tickets/index.php?page=Ticket659'); $this->assertText("${base}lbl", "Down"); - $this->click("${base}btn", ""); + $this->byId("${base}btn")->click(); $this->pause(800); $this->assertText("${base}lbl", "Up"); } |