diff --git a/local_moodleappbehat/tests/behat/behat_app.php b/local_moodleappbehat/tests/behat/behat_app.php index a5af4a3ca..168bfa9d5 100644 --- a/local_moodleappbehat/tests/behat/behat_app.php +++ b/local_moodleappbehat/tests/behat/behat_app.php @@ -621,6 +621,9 @@ class behat_app extends behat_app_helper { }); $this->wait_for_pending_js(); + + // Wait for UI to settle after refreshing. + $this->getSession()->wait(300); } /**