1 |
efrain |
1 |
@core @core_admin @core_admin_roles @javascript
|
|
|
2 |
Feature: Verify the breadcrumbs in define roles site administration pages
|
|
|
3 |
Whenever I navigate to define roles page in site administration
|
|
|
4 |
As an admin
|
|
|
5 |
The breadcrumbs should be visible
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given I log in as "admin"
|
|
|
9 |
|
|
|
10 |
Scenario: Verify breadcrumbs in manage roles tab
|
|
|
11 |
Given I navigate to "Users > Permissions > Define roles" in site administration
|
|
|
12 |
When "Define roles" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
13 |
Then "Permissions" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
14 |
|
|
|
15 |
Scenario Outline: Verify breadcrumbs in allow role tabs
|
|
|
16 |
Given I navigate to "Users > Permissions > Define roles" in site administration
|
|
|
17 |
When I click on "<allowlink>" "link"
|
|
|
18 |
Then "Define roles" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
19 |
And "Permissions" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
20 |
|
|
|
21 |
Examples:
|
|
|
22 |
| allowlink |
|
|
|
23 |
| Allow role assignments |
|
|
|
24 |
| Allow role overrides |
|
|
|
25 |
| Allow role switches |
|
|
|
26 |
| Allow role to view |
|
|
|
27 |
|
|
|
28 |
Scenario: Verify breadcrumbs in new role page
|
|
|
29 |
Given I navigate to "Users > Permissions > Define roles" in site administration
|
|
|
30 |
And I click on "Add a new role" "button"
|
|
|
31 |
Then "Define roles" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
32 |
And "Permissions" "link" should exist in the ".breadcrumb" "css_element"
|