summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-03-05 23:02:18 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-03-05 23:02:18 +0100
commit4ce02f6973aa40c313364b5ff7990f2244309790 (patch)
tree4e55faa0ff1ae31adcd3845cc94fe384fafa29ee /tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
parent82774aa0a41562a325f31c901584ec01c8238573 (diff)
Started cleaning tests' selenium2 compatibility layer
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket72TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket72TestCase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
index 1a236ffa..91fc9420 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
@@ -7,8 +7,8 @@ class Ticket72TestCase extends PradoGenericSelenium2Test
$this->url('tickets/index.php?page=Ticket72');
$this->type("ctl0\$Content\$K1", "abc");
$this->type("ctl0\$Content\$K2", "efg");
- $this->clickAndWait("//input[@type='submit' and @value='Send']", "");
- $this->assertTextPresent("efg", "");
- $this->assertTextNotPresent("abcefg", "");
+ $this->byXPath("//input[@type='submit' and @value='Send']")->click();
+ $this->assertContains("efg", $this->source());
+ $this->assertNotContains("abcefg", $this->source());
}
}