From c574260b41a457723dd2d3cefcc0d0f83f9d417a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 19 Feb 2014 14:53:16 +0100 Subject: [PATCH] Consistently lookup by name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/selenium/PmaSeleniumServerSettingsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/selenium/PmaSeleniumServerSettingsTest.php b/test/selenium/PmaSeleniumServerSettingsTest.php index f201e5f205..5a837afade 100644 --- a/test/selenium/PmaSeleniumServerSettingsTest.php +++ b/test/selenium/PmaSeleniumServerSettingsTest.php @@ -57,14 +57,14 @@ class PMA_SeleniumSettingsTest extends PMA_SeleniumBase { $this->byLinkText("Features")->click(); - $this->waitForElement("byId", "Servers-1-hide_db") + $this->waitForElement("byName", "Servers-1-hide_db") ->value($this->database_name); $this->saveConfig(); $this->assertFalse( $this->isElementPresent("byLinkText", $this->database_name) ); - $this->waitForElement("byId", "Servers-1-hide_db")->clear(); + $this->waitForElement("byName", "Servers-1-hide_db")->clear(); $this->saveConfig(); $this->assertTrue( $this->isElementPresent("byLinkText", $this->database_name)