MDL-67728 behat: Increase app start timeout

main
Pau Ferrer Ocaña 2020-01-21 12:43:51 +01:00
parent 1f04f85599
commit 990472e02f
1 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ class behat_app extends behat_base {
} }
} }
throw new DriverException('Moodle app not found in browser'); throw new DriverException('Moodle app not found in browser');
}, false, 30); }, false, 60);
// Run the scripts to install Moodle 'pending' checks. // Run the scripts to install Moodle 'pending' checks.
$this->getSession()->executeScript( $this->getSession()->executeScript(
@ -312,7 +312,7 @@ class behat_app extends behat_base {
return 'mainpage'; return 'mainpage';
} }
throw new DriverException('Moodle app login URL prompt not found'); throw new DriverException('Moodle app login URL prompt not found');
}, behat_base::get_extended_timeout(), 30); }, behat_base::get_extended_timeout(), 60);
// If it's the login page, we automatically fill in the URL and leave it on the user/pass // If it's the login page, we automatically fill in the URL and leave it on the user/pass
// page. If it's the main page, we just leave it there. // page. If it's the main page, we just leave it there.