Línea 2... |
Línea 2... |
2 |
Feature: I can revert changes after a load
|
2 |
Feature: I can revert changes after a load
|
Línea 3... |
Línea 3... |
3 |
|
3 |
|
4 |
Background: Apply Starter Moodle to revert it
|
4 |
Background: Apply Starter Moodle to revert it
|
5 |
Given I log in as "admin"
|
5 |
Given I log in as "admin"
|
6 |
And I navigate to "Site admin presets" in site administration
|
- |
|
7 |
And I open the action menu in "Starter" "table_row"
|
6 |
And I navigate to "Site admin presets" in site administration
|
8 |
And I choose "Review settings and apply" in the open action menu
|
7 |
And I press "Review settings and apply" action in the "Starter" report row
|
9 |
And I should see "Setting changes"
|
8 |
And I should see "Setting changes"
|
10 |
And I click on "Apply" "button"
|
9 |
And I click on "Apply" "button"
|
Línea 11... |
Línea 10... |
11 |
And I click on "Continue" "button"
|
10 |
And I click on "Continue" "button"
|
Línea 18... |
Línea 17... |
18 |
# Checking applied settings before reverting them.
|
17 |
# Checking applied settings before reverting them.
|
19 |
Given I navigate to "Advanced features" in site administration
|
18 |
Given I navigate to "Advanced features" in site administration
|
20 |
And the field "Enable badges" matches value "0"
|
19 |
And the field "Enable badges" matches value "0"
|
21 |
And the field "Enable competencies" matches value "0"
|
20 |
And the field "Enable competencies" matches value "0"
|
22 |
And I navigate to "Plugins > Activity modules > Manage activities" in site administration
|
21 |
And I navigate to "Plugins > Activity modules > Manage activities" in site administration
|
23 |
And "Disable Database" "icon" should not exist in the "Database" "table_row"
|
22 |
And I should see "Enable Database"
|
24 |
And I navigate to "Plugins > Availability restrictions > Manage restrictions" in site administration
|
23 |
And I navigate to "Plugins > Availability restrictions > Manage restrictions" in site administration
|
25 |
And "Hide" "icon" should not exist in the "Restriction by grouping" "table_row"
|
24 |
And I should see "Enable Restriction by grouping"
|
26 |
And I navigate to "Plugins > Blocks > Manage blocks" in site administration
|
25 |
And I navigate to "Plugins > Blocks > Manage blocks" in site administration
|
27 |
And "Disable Logged in user" "icon" should not exist in the "Logged in user" "table_row"
|
26 |
And "Disable Logged in user" "icon" should not exist in the "Logged in user" "table_row"
|
28 |
And I navigate to "Plugins > Course formats > Manage course formats" in site administration
|
27 |
And I navigate to "Plugins > Course formats > Manage course formats" in site administration
|
29 |
And "Disable" "icon" should not exist in the "Social" "table_row"
|
28 |
And "Disable" "icon" should not exist in the "Social" "table_row"
|
30 |
And I navigate to "Plugins > Question behaviours > Manage question behaviours" in site administration
|
29 |
And I navigate to "Plugins > Question behaviours > Manage question behaviours" in site administration
|
31 |
And "Enabled" "icon" should not exist in the "Immediate feedback with CBM" "table_row"
|
30 |
And "Enabled" "link" should not exist in the "Immediate feedback with CBM" "table_row"
|
32 |
And I navigate to "Plugins > Question types > Manage question types" in site administration
|
31 |
And I navigate to "Plugins > Question types > Manage question types" in site administration
|
33 |
And "Enabled" "icon" should not exist in the "Calculated multichoice" "table_row"
|
32 |
And "Enabled" "link" should not exist in the "Calculated multichoice" "table_row"
|
34 |
And I navigate to "Site admin presets" in site administration
|
33 |
And I navigate to "Site admin presets" in site administration
|
35 |
And I open the action menu in "Starter" "table_row"
|
- |
|
36 |
And I choose "Show version history" in the open action menu
|
34 |
And I press "Show version history" action in the "Starter" report row
|
37 |
When I click on "Restore this version" "link"
|
35 |
When I click on "Restore this version" "link"
|
38 |
And I navigate to "Advanced features" in site administration
|
36 |
And I navigate to "Advanced features" in site administration
|
39 |
Then the field "Enable badges" matches value "1"
|
37 |
Then the field "Enable badges" matches value "1"
|
40 |
And the field "Enable competencies" matches value "1"
|
38 |
And the field "Enable competencies" matches value "1"
|
41 |
And I navigate to "Plugins > Activity modules > Manage activities" in site administration
|
39 |
And I navigate to "Plugins > Activity modules > Manage activities" in site administration
|
42 |
And "Disable Database" "icon" should exist in the "Database" "table_row"
|
40 |
And I should see "Disable Database"
|
43 |
And I navigate to "Plugins > Availability restrictions > Manage restrictions" in site administration
|
41 |
And I navigate to "Plugins > Availability restrictions > Manage restrictions" in site administration
|
44 |
And "Hide" "icon" should exist in the "Restriction by grouping" "table_row"
|
42 |
And I should see "Disable Restriction by grouping"
|
45 |
And I navigate to "Plugins > Blocks > Manage blocks" in site administration
|
43 |
And I navigate to "Plugins > Blocks > Manage blocks" in site administration
|
46 |
And "Disable Logged in user" "icon" should exist in the "Logged in user" "table_row"
|
44 |
And I should see "Disable Logged in user"
|
47 |
And I navigate to "Plugins > Course formats > Manage course formats" in site administration
|
45 |
And I navigate to "Plugins > Course formats > Manage course formats" in site administration
|
48 |
And "Disable" "icon" should exist in the "Social" "table_row"
|
46 |
And "Disable" "icon" should exist in the "Social" "table_row"
|
49 |
And I navigate to "Plugins > Question behaviours > Manage question behaviours" in site administration
|
47 |
And I navigate to "Plugins > Question behaviours > Manage question behaviours" in site administration
|
50 |
And "Enabled" "icon" should exist in the "Immediate feedback with CBM" "table_row"
|
48 |
And "Enabled" "link" should exist in the "Immediate feedback with CBM" "table_row"
|
51 |
And I navigate to "Plugins > Question types > Manage question types" in site administration
|
49 |
And I navigate to "Plugins > Question types > Manage question types" in site administration
|
52 |
And "Enabled" "icon" should exist in the "Calculated multichoice" "table_row"
|
50 |
And "Enabled" "link" should exist in the "Calculated multichoice" "table_row"
|