1 |
efrain |
1 |
@javascript @theme_boost
|
|
|
2 |
Feature: Administration nav tabs
|
|
|
3 |
|
|
|
4 |
Scenario: See last opened tab in site admin when returning to the page
|
|
|
5 |
Given I log in as "admin"
|
|
|
6 |
And I am on site homepage
|
|
|
7 |
And I click on "Site administration" "link"
|
|
|
8 |
And I click on "Users" "link"
|
|
|
9 |
And I click on "Browse list of users" "link"
|
|
|
10 |
And I should see "Add a new user"
|
|
|
11 |
When I press the "back" button in the browser
|
|
|
12 |
Then I should see "Cohorts"
|
|
|
13 |
|
|
|
14 |
Scenario: Navigate back to specific tab after search
|
|
|
15 |
Given I log in as "admin"
|
|
|
16 |
And I am on site homepage
|
|
|
17 |
And I click on "Site administration" "link"
|
|
|
18 |
And I set the field "Search" to "assignment"
|
|
|
19 |
And I press "Search"
|
|
|
20 |
# I should be redirected to the site admin tab with the complete list under it.
|
|
|
21 |
# Testing the existence of at least one of the options in the node is sufficient.
|
|
|
22 |
When I select "Users" from secondary navigation
|
|
|
23 |
Then I should see "Browse list of users"
|