diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index f7c76539e850..2f7abe64b48a 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -424,7 +424,7 @@ public function typeInTextArea($text) public function hoverMore() { try { - $more = $this->byLinkText("More"); + $more = $this->byCssSelector('li.submenu > a'); $this->moveto($more); } catch (PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) { return;