Línea 90... |
Línea 90... |
90 |
And I click on "Delete" "button" in the "Delete filter 'Email address'" "dialogue"
|
90 |
And I click on "Delete" "button" in the "Delete filter 'Email address'" "dialogue"
|
91 |
Then I should see "Deleted filter 'Email address'"
|
91 |
Then I should see "Deleted filter 'Email address'"
|
92 |
And I should see "There are no filters selected" in the "[data-region='active-filters']" "css_element"
|
92 |
And I should see "There are no filters selected" in the "[data-region='active-filters']" "css_element"
|
93 |
And I should not see "Email address" in the "[data-region='active-filters']" "css_element"
|
93 |
And I should not see "Email address" in the "[data-region='active-filters']" "css_element"
|
Línea 94... |
Línea 94... |
94 |
|
94 |
|
95 |
Scenario: Reset filters in report
|
95 |
Scenario: Reset filters in custom report
|
96 |
Given the following "core_reportbuilder > Reports" exist:
|
96 |
Given the following "core_reportbuilder > Reports" exist:
|
97 |
| name | source |
|
97 |
| name | source |
|
98 |
| My report | core_user\reportbuilder\datasource\users |
|
98 |
| My report | core_user\reportbuilder\datasource\users |
|
99 |
And I am on the "My report" "reportbuilder > View" page logged in as "admin"
|
99 |
And I am on the "My report" "reportbuilder > View" page logged in as "admin"
|
100 |
When I click on "Filters" "button"
|
100 |
When I click on "Filters" "button"
|
101 |
And I set the following fields in the "Full name" "core_reportbuilder > Filter" to these values:
|
101 |
And I set the following fields in the "Full name" "core_reportbuilder > Filter" to these values:
|
102 |
| Full name operator | Contains |
|
102 |
| Full name operator | Contains |
|
103 |
| Full name value | Lionel |
|
103 |
| Full name value | Lionel |
|
- |
|
104 |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
|
104 |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
|
105 |
And I should see "Filters (1)" in the "#dropdownFiltersButton" "css_element"
|
105 |
And I should see "Nothing to display"
|
106 |
And I should see "Nothing to display"
|
- |
|
107 |
And I click on "Reset all" "button" in the "[data-region='report-filters']" "css_element"
|
- |
|
108 |
And I should not see "Filters (1)" in the "#dropdownFiltersButton" "css_element"
|
- |
|
109 |
And I should see "Filters" in the "#dropdownFiltersButton" "css_element"
|
106 |
And I click on "Reset all" "button" in the "[data-region='report-filters']" "css_element"
|
110 |
And "[data-region='report-filters']" "css_element" should be visible
|
107 |
Then I should see "Filters reset"
|
111 |
Then I should see "Filters reset"
|
108 |
And the following fields in the "Full name" "core_reportbuilder > Filter" match these values:
|
112 |
And the following fields in the "Full name" "core_reportbuilder > Filter" match these values:
|
109 |
| Full name operator | Is any value |
|
113 |
| Full name operator | Is any value |
|
Línea 110... |
Línea 114... |
110 |
And I should see "Admin User" in the "reportbuilder-table" "table"
|
114 |
And I should see "Admin User" in the "Users" "table"
|
111 |
|
115 |
|
112 |
Scenario: Use report filters when previewing report
|
116 |
Scenario: Use report filters when previewing report
|
113 |
Given the following "users" exist:
|
117 |
Given the following "users" exist:
|