summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket722TestCase.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-03-05 23:02:18 +0100
committerDavid <ottodavid@gmx.net>2014-08-21 17:30:13 +0200
commit94e54d3023ed89281f89125f3ad0553afb9312cb (patch)
tree688470329e8b837252b523b6341fe5e10fe34b95 /tests/FunctionalTests/tickets/tests/Ticket722TestCase.php
parent32dfd8233520261483bdf30f23425e3b50f05d17 (diff)
Started cleaning tests' selenium2 compatibility layer
(cherry picked from commit 4ce02f6973aa40c313364b5ff7990f2244309790) Conflicts: tests/FunctionalTests/tickets/tests/Ticket220TestCase.php tests/FunctionalTests/tickets/tests/Ticket719TestCase.php tests/FunctionalTests/tickets/tests/Ticket769TestCase.php tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php tests/FunctionalTests/validators/tests/DatePickerTestCase.php
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket722TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket722TestCase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket722TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket722TestCase.php
index f98214cc..268a3df4 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket722TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket722TestCase.php
@@ -8,17 +8,17 @@ class Ticket722TestCase extends PradoGenericSelenium2Test
$this->assertEquals($this->title(), "Verifying Ticket 722");
$this->assertText($base.'InPlaceTextBox__label', 'Editable Text');
- $this->click($base.'InPlaceTextBox__label');
+ $this->byId($base.'InPlaceTextBox__label')->click();
$this->pause(800);
$this->assertVisible($base.'InPlaceTextBox');
$this->type($base.'InPlaceTextBox',"Prado");
$this->pause(800);
$this->assertNotVisible($base.'InPlaceTextBox');
$this->assertText($base.'InPlaceTextBox__label', 'Prado');
- $this->click($base.'ctl0');
+ $this->byId($base.'ctl0')->click();
$this->pause(800);
$this->assertText($base.'InPlaceTextBox__label', 'Prado [Read Only]');
- $this->click($base.'InPlaceTextBox__label');
+ $this->byId($base.'InPlaceTextBox__label')->click();
$this->pause(800);
$this->assertNotVisible($base.'InPlaceTextBox');