diff --git a/tests/behat/behat_app.php b/tests/behat/behat_app.php index 2419ae4b9..5cc4eb45c 100644 --- a/tests/behat/behat_app.php +++ b/tests/behat/behat_app.php @@ -209,6 +209,9 @@ class behat_app extends behat_base { }); $this->wait_for_pending_js(); + + // Wait scroll animation to finish. + $this->getSession()->wait(300); } /**