From 1524e243f3155d85131bfcb835c3b3c6e215f703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 31 Mar 2014 09:08:17 +0200 Subject: [PATCH] Try to workaround some timing issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There should be proper solution implemented later. Signed-off-by: Michal Čihař --- test/selenium/PmaSeleniumExportTest.php | 2 ++ test/selenium/PmaSeleniumTableOperationsTest.php | 1 + 2 files changed, 3 insertions(+) diff --git a/test/selenium/PmaSeleniumExportTest.php b/test/selenium/PmaSeleniumExportTest.php index 77e6ae5418..a69ae8e14b 100644 --- a/test/selenium/PmaSeleniumExportTest.php +++ b/test/selenium/PmaSeleniumExportTest.php @@ -161,6 +161,7 @@ class PMA_SeleniumExportTest extends PMA_SeleniumBase $this->expandMore(); $this->waitForElement('byLinkText', "Export")->click(); + usleep(500); $this->waitForElement("byId", "quick_or_custom"); /* @@ -178,6 +179,7 @@ class PMA_SeleniumExportTest extends PMA_SeleniumBase if ($type == 'table') { $this->byCssSelector("label[for=radio_allrows_0]")->click(); + usleep(500); $this->byName("limit_to")->clear(); $this->byName("limit_to")->value("1"); } diff --git a/test/selenium/PmaSeleniumTableOperationsTest.php b/test/selenium/PmaSeleniumTableOperationsTest.php index 6f7fdf3359..6fd8ef6944 100644 --- a/test/selenium/PmaSeleniumTableOperationsTest.php +++ b/test/selenium/PmaSeleniumTableOperationsTest.php @@ -50,6 +50,7 @@ class PMA_SeleniumTableOperationsTest extends PMA_SeleniumBase $this->expandMore(); $this->byXPath("//a[contains(., 'Operations')]")->click(); + usleep(500); $this->waitForElement( "byXPath", "//legend[contains(., 'Table maintenance')]"