MDL-69138 behat: Update session->visit() to use visit step

main
Andrew Nicols 2020-06-25 14:39:38 +08:00 committed by Adrian Greeve
parent 7c9368fa5e
commit fd42bc3ef9
1 changed files with 1 additions and 1 deletions

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->getSession()->visit($url);
$this->execute('behat_general::i_visit', [$url]);
$this->spin(
function($context, $args) {
$title = $context->getSession()->getPage()->find('xpath', '//title');