MOBILE-3833 behat: Wait swipe animations to finish

This is necessary in order to avoid multiple gestures conflicting with each other.
main
Noel De Martin 2022-03-10 11:17:19 +01:00
parent ecaaba732a
commit bf8a8531ec
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
/**