summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controlstests
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-03-25 22:41:33 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-03-25 22:41:40 +0100
commit68bbb645ba5be61c2e3024ac3943c7346b30f1f2 (patch)
tree0626fcf6341c30465f2b1dcc03db2a65d6939f84 /tests/FunctionalTests/active-controlstests
parent4e15c84379b99434515c119b72a6c8afcbf917dd (diff)
More selenium2 tests porting
Diffstat (limited to 'tests/FunctionalTests/active-controlstests')
-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();