MOBILE-4081 behat: Fix swipe out of zone

main
Pau Ferrer Ocaña 2022-09-02 17:11:09 +02:00
parent 6c5984e263
commit 02e455b6ec
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ class behat_app extends behat_app_helper {
public function i_swipe_in_the_app(string $direction) { public function i_swipe_in_the_app(string $direction) {
$method = 'swipe' . ucwords($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(); $this->wait_for_pending_js();