Merge branch 'MDL-69421-master' of git://github.com/noeldemartin/moodle

main
Andrew Nicols 2020-08-13 09:35:37 +08:00
commit be5524f568
1 changed files with 1 additions and 1 deletions

View File

@ -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');