diff --git a/tests/behat/behat_app.php b/tests/behat/behat_app.php index f9e1b05a1..603e298d2 100644 --- a/tests/behat/behat_app.php +++ b/tests/behat/behat_app.php @@ -242,6 +242,9 @@ class behat_app extends behat_base { $method = 'swipe' . ucwords($direction); $this->evaluate_script("behat.getAngularInstance('ion-content', 'CoreSwipeNavigationDirective').$method()"); + + // Wait swipe animation to finish. + $this->getSession()->wait(300); } /**