Commit 63630ffc authored by Andrew Nicols's avatar Andrew Nicols
Browse files

Merge branch 'MDL-69421-37' of git://github.com/noeldemartin/moodle into MOODLE_37_STABLE

parents 59541a96 3d8e0c0d
......@@ -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');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment