MOBILE-3833 behat: Wait swipe animations to finish
This is necessary in order to avoid multiple gestures conflicting with each other.
This commit is contained in:
		
							parent
							
								
									ecaaba732a
								
							
						
					
					
						commit
						bf8a8531ec
					
				| @ -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); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user