summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-03-25 22:41:33 +0100
committerDavid <ottodavid@gmx.net>2014-08-21 17:32:09 +0200
commit94e34ad61868dc6a28de6f1a708d63ae0b6b4cf9 (patch)
tree79c298bb04c06c2d3673ceec9f8ae81968be5295 /tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php
parent2f2a18b9ccf154543ca02e9c189f23cc2862017d (diff)
More selenium2 tests porting
(cherry picked from commit 68bbb645ba5be61c2e3024ac3943c7346b30f1f2) Conflicts: tests/FunctionalTests/tickets/tests/Ticket587TestCase.php tests/FunctionalTests/tickets/tests/Ticket719TestCase.php
Diffstat (limited to 'tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php')
-rwxr-xr-xtests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php b/tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php
index 6b2f6f97..2b9a0166 100755
--- a/tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php
+++ b/tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php
@@ -207,7 +207,7 @@ class ActiveRatingListTestCase extends PradoGenericSelenium2Test
$this->assertElementPresent("//input[@id='{$base}RatingList_c4']/../../../td[contains(@class, 'rating')]");
$this->assertElementPresent("//input[@id='{$base}RatingList_c5']/../../../td[contains(@class, 'rating')]");
- $this->mouseOver("//input[@id='{$base}RatingList_c4']/../..");
+ $this->moveto($this->byXPath("//input[@id='{$base}RatingList_c4']/../.."));
$this->assertText("{$base}Status", "Excellent");
$this->assertElementPresent("//input[@id='{$base}RatingList_c0']/../../../td[contains(@class, 'rating_hover')]");
$this->assertElementPresent("//input[@id='{$base}RatingList_c1']/../../../td[contains(@class, 'rating_hover')]");
@@ -217,7 +217,7 @@ class ActiveRatingListTestCase extends PradoGenericSelenium2Test
$this->assertElementPresent("//input[@id='{$base}RatingList_c5']/../../../td[not(contains(@class, 'rating_hover'))]");
$this->assertElementPresent("//input[@id='{$base}RatingList_c5']/../../../td[contains(@class, 'rating')]");
- $this->mouseOut("//input[@id='{$base}RatingList_c4']/../..");
+ $this->moveto($this->byCssSelector('body'));
$this->assertText("{$base}Status", "CaptionID='Status'");
$this->assertElementPresent("//input[@id='{$base}RatingList_c0']/../../../td[contains(@class, 'rating_selected')]");
$this->assertElementPresent("//input[@id='{$base}RatingList_c1']/../../../td[contains(@class, 'rating_selected')]");
@@ -228,7 +228,7 @@ class ActiveRatingListTestCase extends PradoGenericSelenium2Test
$this->assertElementPresent("//input[@id='{$base}RatingList_c5']/../../../td[contains(@class, 'rating')]");
- $this->mouseOver("//input[@id='{$base}RatingList_c1']/../..");
+ $this->moveto($this->byXPath("//input[@id='{$base}RatingList_c1']/../.."));
$this->assertText("{$base}Status", "Fair");
$this->byXPath("//input[@id='{$base}RatingList_c1']/../..")->click();