1 |
efrain |
1 |
@core_grades @javascript
|
|
|
2 |
Feature: Verify the breadcrumbs in grade scales site administration pages
|
|
|
3 |
Whenever I navigate to grade scales 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 |
@core_grades
|
|
|
11 |
Scenario: Verify the breadcrumbs in scales page as an admin
|
|
|
12 |
Given I navigate to "Grades > Scales" in site administration
|
|
|
13 |
And I click on "Add a new scale" "button"
|
|
|
14 |
And "Add a scale" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
15 |
And "Scales" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
16 |
And I press "Cancel"
|
|
|
17 |
When I click on "Edit" "link"
|
|
|
18 |
Then "Edit scale" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
19 |
And "Scales" "link" should exist in the ".breadcrumb" "css_element"
|
|
|
20 |
And I press "Cancel"
|
|
|
21 |
And I click on "Delete" "link"
|
|
|
22 |
And "Delete scale" "text" should exist in the ".breadcrumb" "css_element"
|
|
|
23 |
And "Scales" "link" should exist in the ".breadcrumb" "css_element"
|