Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

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