Merge branch 'MDL-88122-navbar_empty-breadcrumb-M5.1' of https://github.com/stopfstedt/moodle into MOODLE_501_STABLE
This commit is contained in:
@@ -63,6 +63,7 @@
|
||||
]
|
||||
}
|
||||
}}
|
||||
{{#get_items.0}}
|
||||
<nav aria-label="{{#str}}breadcrumb, access{{/str}}">
|
||||
<ol class="breadcrumb">{{!
|
||||
}}{{#get_items}}
|
||||
@@ -87,3 +88,4 @@
|
||||
{{/get_items}}{{!
|
||||
}}</ol>
|
||||
</nav>
|
||||
{{/get_items.0}}
|
||||
|
||||
@@ -44,7 +44,7 @@ Feature: Breadcrumbs navigation
|
||||
And I log in as "admin"
|
||||
When I follow "Preferences" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
Then ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
Then ".breadcrumb" "css_element" should not exist
|
||||
|
||||
Scenario: Admin user sets the default home page to 'Dashboard' and navigates to its 'Preferences' and 'Private files' page
|
||||
Given the following config values are set as admin:
|
||||
@@ -52,10 +52,10 @@ Feature: Breadcrumbs navigation
|
||||
And I log in as "admin"
|
||||
When I follow "Preferences" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
Then ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
Then ".breadcrumb" "css_element" should not exist
|
||||
And I follow "Private files" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
And ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
And ".breadcrumb" "css_element" should not exist
|
||||
|
||||
Scenario: Admin user sets the default home page to 'User preference' and navigates to its 'Preferences' and 'Private files' page
|
||||
Given the following config values are set as admin:
|
||||
@@ -63,10 +63,10 @@ Feature: Breadcrumbs navigation
|
||||
And I log in as "admin"
|
||||
When I follow "Preferences" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
Then ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
Then ".breadcrumb" "css_element" should not exist
|
||||
And I follow "Private files" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
And ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
And ".breadcrumb" "css_element" should not exist
|
||||
|
||||
Scenario: Admin user sets the default home page to 'My courses' and navigates to its 'Preferences' and 'Private files' page
|
||||
Given the following config values are set as admin:
|
||||
@@ -74,7 +74,7 @@ Feature: Breadcrumbs navigation
|
||||
And I log in as "admin"
|
||||
When I follow "Preferences" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
Then ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
Then ".breadcrumb" "css_element" should not exist
|
||||
And I follow "Private files" in the user menu
|
||||
# There should be no breadcrumbs on this page.
|
||||
And ".breadcrumb-item" "css_element" should not exist in the ".breadcrumb" "css_element"
|
||||
And ".breadcrumb" "css_element" should not exist
|
||||
|
||||
Reference in New Issue
Block a user