Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
@tool @tool_admin_presets @core_reportbuilder @javascript
2
Feature: Manage admin presets list
3
  In order to use admin presets
4
  As an admin
5
  I need to be able to create, edit and delete custom presets
6
 
7
  Scenario: Using filters in the presets list
8
    Given I log in as "admin"
9
    And I navigate to "Site admin presets" in site administration
10
    And I should see "Starter" in the "reportbuilder-table" "table"
11
    And I should see "Full" in the "reportbuilder-table" "table"
12
    Then I click on "Filters" "button"
13
    And I set the following fields in the "Name" "core_reportbuilder > Filter" to these values:
14
      | Name operator | Is equal to |
15
      | Name value    | Starter     |
16
    And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
17
    And I click on "Filters" "button"
18
    And I should see "Starter" in the "reportbuilder-table" "table"
19
    And I should not see "Full" in the "reportbuilder-table" "table"
20
 
21
  Scenario: Edit preset name
22
    Given I log in as "admin"
23
    And I navigate to "Site admin presets" in site administration
24
    And I click on "Create preset" "button"
25
    And I set the field "Name" to "My preset name"
26
    And I click on "Create preset" "button"
27
    And I should see "My preset name" in the "reportbuilder-table" "table"
28
    Then I click on "Edit admin preset name" "link" in the "My preset name" "table_row"
29
    And I set the field "New value for My preset name" to "My edited preset name"
30
    And I press the enter key
31
    And I should not see "My preset name" in the "reportbuilder-table" "table"
32
    And I should see "My edited preset name" in the "reportbuilder-table" "table"