Workaround another timing issue in Selenium tests

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2014-02-24 14:51:40 +01:00
parent 2981d08ec2
commit 5a322fd9a2

View File

@ -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') {