diff --git a/behat_app.php b/behat_app.php index ce9f392c0..e474ffc67 100644 --- a/behat_app.php +++ b/behat_app.php @@ -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');