From 5b38dd9e1e7c8f316edcee9671e9e317efc2db8a Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 6 Aug 2020 12:08:43 +0200 Subject: [PATCH] MDL-69421 behat: Revert app behat navigation to call session visit --- lib/tests/behat/behat_app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/behat/behat_app.php b/lib/tests/behat/behat_app.php index ce9f392c01d..e474ffc6737 100644 --- a/lib/tests/behat/behat_app.php +++ b/lib/tests/behat/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');