X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tests
/
behat
/
📁
..
📄
assign.feature
(4.09 KB)
📄
behat_admin.php
(5.15 KB)
📄
browse_users.feature
(3.05 KB)
📄
check.feature
(2.71 KB)
📄
display_short_names.feature
(858 B)
📄
enable_multiple_accounts_use_same_email.feature
(3.23 KB)
📄
filter_users.feature
(5.53 KB)
📄
filter_users_settings.feature
(9.77 KB)
📄
invalid_allcountrycodes.feature
(1.41 KB)
📄
language_settings.feature
(1.35 KB)
📄
manage_blocks.feature
(3.11 KB)
📄
manage_media.feature
(1.31 KB)
📄
manage_tokens.feature
(3.8 KB)
📄
moodlenet_outbound.feature
(2.5 KB)
📄
outgoing_mail.feature
(1.29 KB)
📄
purge_caches.feature
(1.4 KB)
📄
resetindentation.feature
(6.44 KB)
📄
search_areas.feature
(1.02 KB)
📄
set_admin_settings_value.feature
(895 B)
📄
site_administration.feature
(1.01 KB)
📄
siteadmin_webservice_breadcrumbs.feature
(1.74 KB)
📄
siteadmin_webservice_token_breadcrumbs.feature
(1.21 KB)
📄
task_logs.feature
(3.51 KB)
📄
webservice_users.feature
(1.97 KB)
Editing: task_logs.feature
@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 | @javascript Scenario: Reset task log filters 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 "Result" "core_reportbuilder > Filter" to these values: | Result operator | Is equal to | | Result value | Fail | 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 I should see "Nothing to display" And I click on "Reset all" "button" in the "[data-region='report-filters']" "css_element" And I should see "Filters reset" And I should not see "Filters (1)" in the "#dropdownFiltersButton" "css_element" And I should see "Filters" in the "#dropdownFiltersButton" "css_element" And "[data-region='report-filters']" "css_element" should be visible And the following fields in the "Result" "core_reportbuilder > Filter" match these values: | Result operator | Is any value | And I should not see "Nothing to display"
Upload File
Create Folder