MDL-67683 behat: Update xpath selector for #region-main
This commit is contained in:
@@ -1168,7 +1168,7 @@ class behat_navigation extends behat_base {
|
||||
protected function select_on_administration_page($nodelist) {
|
||||
$parentnodes = $nodelist;
|
||||
$lastnode = array_pop($parentnodes);
|
||||
$xpath = '//section[@id=\'region-main\']';
|
||||
$xpath = '//div[@id=\'region-main\']';
|
||||
|
||||
// Check if there is a separate tab for this submenu of the page. If found go to it.
|
||||
if ($parentnodes) {
|
||||
|
||||
@@ -289,7 +289,7 @@ class behat_theme_classic_behat_navigation extends behat_navigation {
|
||||
protected function select_on_administration_page($nodelist) {
|
||||
$parentnodes = $nodelist;
|
||||
$lastnode = array_pop($parentnodes);
|
||||
$xpath = '//section[@id=\'region-main\']';
|
||||
$xpath = '//div[@id=\'region-main\']';
|
||||
|
||||
// Check if there is a separate tab for this submenu of the page. If found go to it.
|
||||
if ($parentnodes) {
|
||||
|
||||
Reference in New Issue
Block a user