__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@core @core_admin @core_reportbuilder
Feature: View task logs report and use its filters
In order to view task logs report and use its filters
As an admin
I need to navigate to Server > Tasks > Task logs
Background:
# We need to run cron to populate the report.
Given I trigger cron
@javascript
Scenario Outline: Filter task logs by name
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"
And I set the following fields in the "Class name" "core_reportbuilder > Filter" to these values:
| Class name value | <name> |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then I should see "Filters applied"
And I should see "Filters (1)" in the "#dropdownFiltersButton" "css_element"
And the following should exist in the "reportbuilder-table" table:
| Type | Name |
| Scheduled | <match> |
And the following should not exist in the "reportbuilder-table" table:
| Type | Name |
| Scheduled | <nonmatch> |
Examples:
| name | match | nonmatch |
| Cleanup event monitor events | Cleanup event monitor events | Incoming email pickup |
| Incoming email pickup | Incoming email pickup | Cleanup event monitor events |
@javascript
# Task duration is dependent on many factors, we are asserting here that no task has a duration >2 minutes.
Scenario Outline: Filter task logs by duration
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"
And I set the following fields in the "Duration" "core_reportbuilder > Filter" to these values:
| Duration operator | <operator> |
| Duration value | 2 |
| Duration unit | minute(s) |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then I should see "Filters applied"
And I <shouldornotsee> "Nothing to display"
Examples:
| operator | shouldornotsee |
| Less than | should not see |
| Greater than | should see |
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assign.feature | File | 4.13 KB | 0777 |
|
| behat_admin.php | File | 5.19 KB | 0777 |
|
| browse_users.feature | File | 11.95 KB | 0777 |
|
| check.feature | File | 2.74 KB | 0777 |
|
| display_short_names.feature | File | 858 B | 0777 |
|
| enable_multiple_accounts_use_same_email.feature | File | 3.23 KB | 0777 |
|
| filter_users.feature | File | 11.17 KB | 0777 |
|
| invalid_allcountrycodes.feature | File | 1.41 KB | 0777 |
|
| language_settings.feature | File | 1.35 KB | 0777 |
|
| manage_blocks.feature | File | 2.45 KB | 0777 |
|
| manage_media.feature | File | 806 B | 0777 |
|
| moodlenet_outbound.feature | File | 2.5 KB | 0777 |
|
| outgoing_mail.feature | File | 1.29 KB | 0777 |
|
| plugins_overview.feature | File | 2.25 KB | 0777 |
|
| purge_caches.feature | File | 1.4 KB | 0777 |
|
| resetindentation.feature | File | 6.61 KB | 0777 |
|
| search_areas.feature | File | 1.02 KB | 0777 |
|
| set_admin_settings_value.feature | File | 895 B | 0777 |
|
| site_administration.feature | File | 1.01 KB | 0777 |
|
| task_logs.feature | File | 2.32 KB | 0777 |
|