diff --git a/test/selenium/PmaSeleniumCreateRemoveUserTest.php b/test/selenium/PmaSeleniumCreateRemoveUserTest.php index 2641c67301..f13be74c4f 100644 --- a/test/selenium/PmaSeleniumCreateRemoveUserTest.php +++ b/test/selenium/PmaSeleniumCreateRemoveUserTest.php @@ -83,6 +83,7 @@ class PMA_SeleniumCreateRemoveUserTest extends PMA_SeleniumBase $success = $this->waitForElement("byCssSelector", "div.success"); $this->assertContains('You have added a new user', $success->text()); + $this->waitForElement('byLinkText', "Users")->click(); $el = $this->waitForElement("byId", "usersForm"); $temp = $this->_txtUsername . "localhost"; diff --git a/test/selenium/PmaSeleniumDbOperationsTest.php b/test/selenium/PmaSeleniumDbOperationsTest.php index 3316d7d157..216b509b90 100644 --- a/test/selenium/PmaSeleniumDbOperationsTest.php +++ b/test/selenium/PmaSeleniumDbOperationsTest.php @@ -28,6 +28,7 @@ class PMA_SeleniumDbOperationsTest extends PMA_SeleniumBase { $this->login(); $this->waitForElement('byLinkText', $this->database_name)->click(); + $this->waitForElement("byLinkText", "Structure"); $this->expandMore(); $this->waitForElement("byLinkText", "Operations")->click(); $this->waitForElement(