Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
@core @core_admin
2
Feature: Plugins overview page
3
  In order to manage plugin and settings
4
  As an admin
5
  I can access the plugins overview page
6
 
7
  Background:
8
    Given I am logged in as "admin"
9
    And I navigate to "Plugins > Plugins overview" in site administration
10
 
11
  Scenario: An administrator can view plugins overview page
12
    Then "Plugins overview" "text" should exist
13
    And "Check for available updates" "button" should exist
14
    And "All plugins" "link" should exist
15
    And "Additional plugins" "link" should exist
16
 
17
  Scenario: An administrator can access list of activities when activity modules cog icon is pressed
18
    When I click on "Settings" "link" in the "Activity modules" "table_row"
19
    Then "Activities" "text" should exist
20
    And "Manage activities" "text" should exist in the ".breadcrumb" "css_element"
21
    And "Activity modules" "link" should exist in the ".breadcrumb" "css_element"
22
 
23
  Scenario: An administrator can access plugin settings
24
    When I click on "Settings" "link" in the "Assignment" "table_row"
25
    Then "Assignment settings" "text" should exist
26
    And "Assignment settings" "text" should exist in the ".breadcrumb" "css_element"
27
    And "Assignment" "link" should exist in the ".breadcrumb" "css_element"
28
    And "Activity modules" "link" should exist in the ".breadcrumb" "css_element"
29
 
30
  Scenario: Plugins with dependencies cannot be uninstalled
31
    When I navigate to "Plugins > Plugins overview" in site administration
32
    Then "Uninstall" "link" should not exist in the "Database" "table_row"
33
    And "Required by: filter_data" "text" should exist in the "Database" "table_row"
34
 
35
  Scenario: Cancelling plugin uninstall does not uninstall the selected plugin
36
    When I click on "Uninstall" "link" in the "Assignment" "table_row"
37
    Then "Uninstalling Assignment" "text" should exist
38
    And "You are about to uninstall the plugin Assignment. This will completely delete everything in the database associated with this plugin, including its configuration, log records, user files managed by the plugin etc. There is no way back and Moodle itself does not create any recovery backup. Are you SURE you want to continue?" "text" should exist
39
    And I click on "Cancel" "button"
40
    And "Uninstall" "link" should exist in the "Assignment" "table_row"