MDL-86396 task: assert outcome of applying read/write log filters.
This commit is contained in:
@@ -50,21 +50,20 @@ Feature: View task logs report and use its filters
|
||||
| Greater than | should see |
|
||||
|
||||
@javascript
|
||||
Scenario Outline: Verify task logs report includes and applies <filtername> filter
|
||||
Scenario Outline: Filter task logs by database reads/writes
|
||||
Given I log in as "admin"
|
||||
And I change window size to "large"
|
||||
And I navigate to "Server > Tasks > Task logs" in site administration
|
||||
When I click on "Filters" "button"
|
||||
Then I should see "<filtername>" in the "[data-region='report-filters']" "css_element"
|
||||
|
||||
# Verify the filter can be applied
|
||||
And I set the following fields in the "<filtername>" "core_reportbuilder > Filter" to these values:
|
||||
| <filtername> operator | Greater than |
|
||||
| <filtername> value | 0 |
|
||||
| <filtername> operator | <operator> |
|
||||
| <filtername> value | 500 |
|
||||
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
|
||||
And I should see "Filters applied"
|
||||
And I should see "Filters (1)" in the "#dropdownFiltersButton" "css_element"
|
||||
Then I should see "Filters applied"
|
||||
And I <shouldornotsee> "Nothing to display"
|
||||
Examples:
|
||||
| filtername |
|
||||
| Database reads |
|
||||
| Database writes |
|
||||
| filtername | operator | shouldornotsee |
|
||||
| Database reads | Less than | should not see |
|
||||
| Database reads | Greater than | should see |
|
||||
| Database writes | Less than | should not see |
|
||||
| Database writes | Greater than | should see |
|
||||
|
||||
Reference in New Issue
Block a user