MDL-69421 behat: Revert app behat navigation to call session visit
parent
fd42bc3ef9
commit
c06cd80879
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue