From df30698c8e439c635bdc1e74c817d277f2982c05 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 9 Apr 2014 11:08:43 +0800 Subject: [PATCH] The element Selenium waiting for is under .drop_list, and it was invisible. Change target container will clear this error. Signed-off-by: Edward Cheng --- test/selenium/TestBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index bd2b11e72c..42662d2390 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -577,7 +577,7 @@ abstract class PMA_SeleniumBase extends PHPUnit_Extensions_Selenium2TestCase // go to table page $this->waitForElement( "byXPath", - "//*[@id='pma_navigation_tree']//a[contains(., '$table')]" + "//*[@id='pma_navigation_tree_content']//a[contains(., '$table')]" )->click(); // Wait for it to load