MDL-64979 Behat: Add option to increase timeouts

main
sam marshall 2019-02-28 17:36:30 +00:00
parent a24f9dc9df
commit e9ea931a48
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,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');
}, self::EXTENDED_TIMEOUT, 30); }, behat_base::get_extended_timeout(), 30);
// 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.