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

This commit is contained in:
Noel De Martin 2020-08-06 12:08:43 +02:00
parent 07238ca511
commit b421039a5c

View File

@ -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');