1 |
efrain |
1 |
@core @core_admin
|
|
|
2 |
Feature: Set admin settings value
|
|
|
3 |
In order to set admin settings value
|
|
|
4 |
As an admin
|
|
|
5 |
I need to set admin setting value and verify it is applied
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following "courses" exist:
|
|
|
9 |
| fullname | shortname | category |
|
|
|
10 |
| Course fullname | C_shortname | 0 |
|
|
|
11 |
And I log in as "admin"
|
|
|
12 |
And I am on site homepage
|
|
|
13 |
And I should see "Course fullname"
|
|
|
14 |
And I should not see "C_shortname Course fullname"
|
|
|
15 |
|
|
|
16 |
Scenario: set admin value with full name
|
|
|
17 |
Given the following config values are set as admin:
|
|
|
18 |
| courselistshortnames | 1 |
|
|
|
19 |
And I am on site homepage
|
|
|
20 |
Then I should see "C_shortname Course fullname"
|
|
|
21 |
|
|
|
22 |
Scenario: set admin value with short name
|
|
|
23 |
Given the following config values are set as admin:
|
|
|
24 |
| courselistshortnames | 1 |
|
|
|
25 |
And I am on site homepage
|
|
|
26 |
Then I should see "C_shortname Course fullname"
|