From 5a322fd9a2ea7fa0abc196d452cc8705fc614198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 24 Feb 2014 14:51:40 +0100 Subject: [PATCH] Workaround another timing issue in Selenium tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/selenium/PmaSeleniumExportTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/selenium/PmaSeleniumExportTest.php b/test/selenium/PmaSeleniumExportTest.php index d0c236a01c..3f28df8397 100644 --- a/test/selenium/PmaSeleniumExportTest.php +++ b/test/selenium/PmaSeleniumExportTest.php @@ -167,6 +167,10 @@ class PMA_SeleniumExportTest extends PMA_SeleniumBase $this->waitForElement('byLinkText', "Export")->click(); $this->waitForElement("byId", "quick_or_custom"); + /* + * FIXME: There should be better way to wait for javascript to be executed + */ + usleep(200); $this->byCssSelector("label[for=radio_custom_export]")->click(); if ($type == 'server') {