summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket679TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket679TestCase.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php
index 4ee22c20..af957fa3 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php
@@ -1,18 +1,18 @@
<?php
-class Ticket679TestCase extends PradoGenericSeleniumTest
+class Ticket679TestCase extends PradoGenericSelenium2Test
{
function test()
{
$base = 'ctl0_Content_';
- $this->open('tickets/index.php?page=Ticket679');
- $this->assertTitle("Verifying Ticket 679");
-
+ $this->url('tickets/index.php?page=Ticket679');
+ $this->assertEquals($this->title(), "Verifying Ticket 679");
+
// First part of ticket : Repeater bug
$this->click($base."ctl0");
$this->pause(800);
$this->assertText($base."myLabel",'outside');
- $this->verifyVisible($base."myLabel");
-
+ $this->assertVisible($base."myLabel");
+
// Reload completly the page
$this->refresh();
$this->pause(800);
@@ -20,16 +20,16 @@ class Ticket679TestCase extends PradoGenericSeleniumTest
$this->click($base."Repeater_ctl0_ctl0");
$this->pause(800);
$this->assertText($base."myLabel",'inside');
- $this->verifyVisible($base."myLabel");
-
+ $this->assertVisible($base."myLabel");
+
// Second part of ticket : ARB bug
- $this->verifyNotChecked($base."myRadioButton");
+ $this->assertNotChecked($base."myRadioButton");
$this->click($base."ctl1");
$this->pause(800);
- $this->verifyChecked($base."myRadioButton");
+ $this->assertChecked($base."myRadioButton");
$this->click($base."ctl2");
$this->pause(800);
- $this->verifyNotChecked($base."myRadioButton");
+ $this->assertNotChecked($base."myRadioButton");
$this->pause(800);
}