From fd42bc3ef9f24f2a39e41e92af2755202072e46f Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 25 Jun 2020 14:39:38 +0800 Subject: [PATCH] MDL-69138 behat: Update session->visit() to use visit step --- behat_app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/behat_app.php b/behat_app.php index e474ffc67..ce9f392c0 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->getSession()->visit($url); + $this->execute('behat_general::i_visit', [$url]); $this->spin( function($context, $args) { $title = $context->getSession()->getPage()->find('xpath', '//title');