diff --git a/tests/behat/behat_app.php b/tests/behat/behat_app.php index 603e298d2..a2737f79a 100644 --- a/tests/behat/behat_app.php +++ b/tests/behat/behat_app.php @@ -811,6 +811,8 @@ class behat_app extends behat_base { } // Check that it worked as expected. + usleep(1000000); + $result = $this->evaluate_script("return window.behat.isSelected($locatorjson);"); switch ($result) {