Add some wait time for the procedure result to show on Selenium tests

Ref: 08cf4aeb5e

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-02-19 00:49:20 +01:00
parent 147ada050f
commit d71aa7682b
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -256,6 +256,7 @@ class ProceduresTest extends TestBase
'span#PMA_slidingMessage table tbody'
);
$this->waitUntilElementIsVisible('cssSelector', 'span#PMA_slidingMessage', 30);
sleep(2);// Give more chances to the JS effect to finish
$head = $this->byCssSelector('span#PMA_slidingMessage table tbody')->getText();
$this->assertEquals("outp\n" . $length, $head);
}