summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket121TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket121TestCase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
index 3fea580a..547ffb38 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
@@ -7,11 +7,11 @@ class Ticket121TestCase extends PradoGenericSelenium2Test
$this->url('tickets/index.php?page=Ticket121');
$this->type("ctl0\$Content\$FooTextBox", "");
$this->assertNotVisible('ctl0_Content_ctl1');
- $this->click("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
+ $this->byXPath("//input[@type='image' and @id='ctl0_Content_ctl0']")->click();
$this->assertVisible('ctl0_Content_ctl1');
$this->type("ctl0\$Content\$FooTextBox", "content");
- $this->clickAndWait("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
+ $this->byXPath("//input[@type='image' and @id='ctl0_Content_ctl0']")->click();
$this->assertNotVisible('ctl0_Content_ctl1');
- $this->assertTextPresent("clicked at", "");
+ $this->assertContains("clicked at", $this->source());
}
}