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

main
Noel De Martin 2020-08-06 12:08:43 +02:00
parent fd42bc3ef9
commit c06cd80879
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class behat_app extends behat_base {
global $CFG; global $CFG;
// Visit the Ionic URL and wait for it to load. // Visit the Ionic URL and wait for it to load.
$this->execute('behat_general::i_visit', [$url]); $this->getSession()->visit($url);
$this->spin( $this->spin(
function($context, $args) { function($context, $args) {
$title = $context->getSession()->getPage()->find('xpath', '//title'); $title = $context->getSession()->getPage()->find('xpath', '//title');