diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-03-05 23:02:18 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-03-05 23:02:18 +0100 |
commit | 4ce02f6973aa40c313364b5ff7990f2244309790 (patch) | |
tree | 4e55faa0ff1ae31adcd3845cc94fe384fafa29ee /tests/FunctionalTests/tickets/tests/Ticket886TestCase.php | |
parent | 82774aa0a41562a325f31c901584ec01c8238573 (diff) |
Started cleaning tests' selenium2 compatibility layer
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket886TestCase.php')
-rwxr-xr-x | tests/FunctionalTests/tickets/tests/Ticket886TestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php index 820e0170..7f9c23f3 100755 --- a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php @@ -7,8 +7,8 @@ class Ticket886TestCase extends PradoGenericSelenium2Test $this->url('tickets/index.php?page=Ticket886'); $this->assertEquals($this->title(), "Verifying Ticket 886"); $base = 'ctl0_Content_'; - $this->clickAndWait($base.'SendButton'); - $this->assertTextPresent(date('Y').'-01-01'); + $this->byId($base.'SendButton')->click(); + $this->assertContains(date('Y').'-01-01', $this->source()); } } |