1 |
efrain |
1 |
@core @core_admin @javascript
|
|
|
2 |
Feature: Verify the breadcrumbs in webservice tokens site administration pages
|
|
|
3 |
Whenever I navigate to manage tokens 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 the breadcrumbs in manage tokens page as an admin
|
|
|
11 |
Given the following "users" exist:
|
|
|
12 |
| username | firstname | lastname | email |
|
|
|
13 |
| student1 | John | Doe | s1@example.com |
|
|
|
14 |
And I log in as "admin"
|
|
|
15 |
And I navigate to "Server > Web services > Manage tokens" in site administration
|
|
|
16 |
And I click on "Create token" "button"
|
|
|
17 |
And "Create token" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
18 |
And "Manage tokens" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
19 |
And "Web services" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
20 |
And I set the field "User" to "John Doe"
|
|
|
21 |
And I press "Save changes"
|
|
|
22 |
When I click on "Delete" "link"
|
|
|
23 |
Then "Delete token" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
24 |
And "Manage tokens" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
25 |
And "Web services" "link" should exist in the ".breadcrumb" "css_element"
|