Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle

This commit is contained in:
Andrew Nicols 2021-10-04 12:33:52 +08:00 committed by Eloy Lafuente (stronk7)
commit 8b7fb0f7ab
11 changed files with 151 additions and 17 deletions

View file

@ -1119,7 +1119,7 @@ class behat_navigation extends behat_base {
"//nav[@aria-label='Navigation bar']/ol/li[last()][contains(normalize-space(.), '" . $pagename . "')]"
);
if (!$link) {
$this->execute("behat_general::click_link", $pagename);
$this->execute("behat_general::i_click_on_in_the", [$pagename, 'link', 'page', 'region']);
}
}