mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle
This commit is contained in:
commit
8b7fb0f7ab
11 changed files with 151 additions and 17 deletions
|
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue