Files
moodle/theme/boost/tests/behat/settingstabs.feature
T
David Carrillo f76a518cb1 MDL-79270 user: New 'Browse list of users' system report
- The report 'Browse list of users' has been converted to use Report
Builder.
- Behat tests have been fixed and some test have been deleted for not
being relevant anymore.
2023-12-11 12:36:54 +01:00

24 lines
948 B
Gherkin

@javascript @theme_boost
Feature: Administration nav tabs
Scenario: See last opened tab in site admin when returning to the page
Given I log in as "admin"
And I am on site homepage
And I click on "Site administration" "link"
And I click on "Users" "link"
And I click on "Browse list of users" "link"
And I should see "Add a new user"
When I press the "back" button in the browser
Then I should see "Cohorts"
Scenario: Navigate back to specific tab after search
Given I log in as "admin"
And I am on site homepage
And I click on "Site administration" "link"
And I set the field "Search" to "assignment"
And I press "Search"
# I should be redirected to the site admin tab with the complete list under it.
# Testing the existence of at least one of the options in the node is sufficient.
When I select "Users" from secondary navigation
Then I should see "Browse list of users"