MDL-71795 behat: fix breadcrumb navigation step

This commit is contained in:
Ferran Recio
2021-10-01 09:03:56 +02:00
parent 7ad939c592
commit 5d18501ffb
+1 -1
View File
@@ -1115,7 +1115,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']);
}
}