summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controlstests/ActiveRatingListTestCase.php
diff options
context:
space:
mode:
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();