summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket769TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket769TestCase.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
index b335d148..03816667 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
@@ -8,26 +8,26 @@ class Ticket769TestCase extends PradoGenericSelenium2Test
$this->url('tickets/index.php?page=Ticket769');
$this->assertEquals($this->title(), "Verifying Ticket 769");
- $this->click($base.'ctl0');
+ $this->byId($base.'ctl0')->click();
$this->assertVisible($base.'ctl1');
$this->type($base.'T1', 'Prado');
- $this->click($base.'ctl0');
+ $this->byId($base.'ctl0')->click();
$this->pause(800);
$this->assertNotVisible($base.'ctl1');
$this->assertValue($base.'ctl0', 'T1 clicked' );
- $this->click($base.'ctl2');
+ $this->byId($base.'ctl2')->click();
$this->pause(800);
$this->assertText($base.'B', 'This is B');
- $this->click($base.'ctl3');
+ $this->byId($base.'ctl3')->click();
$this->pause(800);
$this->type($base.'T1', '');
- $this->click($base.'ctl0');
+ $this->byId($base.'ctl0')->click();
$this->assertVisible($base.'ctl1');
$this->type($base.'T1', 'Prado');
- $this->click($base.'ctl0');
+ $this->byId($base.'ctl0')->click();
$this->pause(800);
$this->assertNotVisible($base.'ctl1');
$this->assertValue($base.'ctl0', 'T1 clicked clicked' );