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 258a09a7..b335d148 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket769TestCase.php
@@ -1,12 +1,12 @@
<?php
-class Ticket769TestCase extends PradoGenericSeleniumTest
+class Ticket769TestCase extends PradoGenericSelenium2Test
{
function test()
{
$base="ctl0_Content_";
- $this->open('tickets/index.php?page=Ticket769');
- $this->assertTitle("Verifying Ticket 769");
+ $this->url('tickets/index.php?page=Ticket769');
+ $this->assertEquals($this->title(), "Verifying Ticket 769");
$this->click($base.'ctl0');
$this->assertVisible($base.'ctl1');
@@ -15,11 +15,11 @@ class Ticket769TestCase extends PradoGenericSeleniumTest
$this->click($base.'ctl0');
$this->pause(800);
$this->assertNotVisible($base.'ctl1');
- $this->assertEquals($this->getValue($base.'ctl0'), 'T1 clicked' );
+ $this->assertValue($base.'ctl0', 'T1 clicked' );
$this->click($base.'ctl2');
$this->pause(800);
- $this->assertEquals($this->getText($base.'B'), 'This is B');
+ $this->assertText($base.'B', 'This is B');
$this->click($base.'ctl3');
$this->pause(800);
@@ -30,6 +30,6 @@ class Ticket769TestCase extends PradoGenericSeleniumTest
$this->click($base.'ctl0');
$this->pause(800);
$this->assertNotVisible($base.'ctl1');
- $this->assertEquals($this->getValue($base.'ctl0'), 'T1 clicked clicked' );
+ $this->assertValue($base.'ctl0', 'T1 clicked clicked' );
}
} \ No newline at end of file