Commit 3d8e0c0d authored by Noel De Martin's avatar Noel De Martin
Browse files

MDL-69421 behat: Revert app behat navigation to call session visit

parent 59541a96
......@@ -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');
......
Markdown is supported
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