From 02e455b6ecd547b1160ff8e2dd01855d6cf48dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Fri, 2 Sep 2022 17:11:09 +0200 Subject: [PATCH] MOBILE-4081 behat: Fix swipe out of zone --- local_moodleappbehat/tests/behat/behat_app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local_moodleappbehat/tests/behat/behat_app.php b/local_moodleappbehat/tests/behat/behat_app.php index f2a8cde66..4b644d1f3 100644 --- a/local_moodleappbehat/tests/behat/behat_app.php +++ b/local_moodleappbehat/tests/behat/behat_app.php @@ -224,7 +224,7 @@ class behat_app extends behat_app_helper { public function i_swipe_in_the_app(string $direction) { $method = 'swipe' . ucwords($direction); - $this->runtime_js("getAngularInstance('ion-content', 'CoreSwipeNavigationDirective').$method()"); + $this->zone_js("getAngularInstance('ion-content', 'CoreSwipeNavigationDirective').$method()"); $this->wait_for_pending_js();