forked from EVOgeek/Vmeda.Online
		
	MOBILE-3833 behat: Delay verifying item selection
Before this fix it was happening too fast some times and giving false negatives
This commit is contained in:
		
							parent
							
								
									12da416a51
								
							
						
					
					
						commit
						9997217214
					
				@ -811,6 +811,8 @@ class behat_app extends behat_base {
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // Check that it worked as expected.
 | 
			
		||||
            usleep(1000000);
 | 
			
		||||
 | 
			
		||||
            $result = $this->evaluate_script("return window.behat.isSelected($locatorjson);");
 | 
			
		||||
 | 
			
		||||
            switch ($result) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user