mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-73216-master' of https://github.com/bmbrands/moodle
This commit is contained in:
commit
8f8b780008
@ -57,7 +57,7 @@
|
||||
}}
|
||||
<nav class="navbar fixed-top navbar-light bg-white navbar-expand" aria-label="{{#str}}sitemenubar, admin{{/str}}">
|
||||
|
||||
<button class="navbar-toggler aabtn d-block d-md-none my-1 mr-2" data-toggle="drawers" data-action="toggle" data-target="theme_boost-drawers-primary">
|
||||
<button class="navbar-toggler aabtn d-block d-md-none my-1 mr-2" data-toggler="drawers" data-action="toggle" data-target="theme_boost-drawers-primary">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
<span class="sr-only">{{#str}}sidepanel, core{{/str}}</span>
|
||||
</button>
|
||||
|
@ -45,3 +45,12 @@ Feature: Primary navigation
|
||||
| Site | Home |
|
||||
| Dashboard | Dashboard |
|
||||
| My courses | My courses |
|
||||
|
||||
@javascript @theme_boost
|
||||
Scenario: Users could use primary nav menu on mobile size screens
|
||||
Given I change window size to "mobile"
|
||||
And I am on the "My courses" page logged in as "user1"
|
||||
Then "Home" "link" should not be visible
|
||||
And "Side panel" "button" should exist
|
||||
And I click on "Side panel" "button"
|
||||
And I should see "Home" in the "theme_boost-drawers-primary" "region"
|
||||
|
Loading…
x
Reference in New Issue
Block a user