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

This commit is contained in:
Noel De Martin
2020-08-06 12:15:07 +02:00
parent 71f3a7fca9
commit 5b38dd9e1e
+1 -1
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');