MDL-69421 behat: Revert app behat navigation to call session visit
This commit is contained in:
		
							parent
							
								
									fd42bc3ef9
								
							
						
					
					
						commit
						c06cd80879
					
				@ -283,7 +283,7 @@ class behat_app extends behat_base {
 | 
			
		||||
        global $CFG;
 | 
			
		||||
 | 
			
		||||
        // Visit the Ionic URL and wait for it to load.
 | 
			
		||||
        $this->execute('behat_general::i_visit', [$url]);
 | 
			
		||||
        $this->getSession()->visit($url);
 | 
			
		||||
        $this->spin(
 | 
			
		||||
                function($context, $args) {
 | 
			
		||||
                    $title = $context->getSession()->getPage()->find('xpath', '//title');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user