forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d9b69e
commit ca57348
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@core | ||
Feature: Navigate using the browser back button | ||
In order to easily navigate Moodle | ||
As a user | ||
Pressing the back button in the browser should result in accurate navigation menus | ||
|
||
@javascript | ||
Scenario: The active menu item check marks are consistent - topics format course | ||
Given the following "courses" exist: | ||
| fullname | shortname | | ||
| Course 1 | C1 | | ||
When I am on the "Course 1" course page logged in as "admin" | ||
And I update the link with selector 'li[data-key="questionbank"] > a' to go nowhere | ||
And I navigate to "Question bank" in current page administration | ||
Then "li[data-key='questionbank'] > a[aria-current='true']" "css_element" should not exist |