Merge branch 'MDL-87443-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE

This commit is contained in:
Huong Nguyen
2026-01-13 10:15:59 +07:00
11 changed files with 74 additions and 58 deletions
+7
View File
@@ -0,0 +1,7 @@
issueNumber: MDL-87443
notes:
core:
- message: >-
There is a new Behat `toast_message` named selector to more easily
assert the presence of Toast messages on the page
type: improved
@@ -127,6 +127,7 @@ class behat_partial_named_selector extends \Behat\Mink\Selector\PartialNamedSele
'table' => 'table',
'table_row' => 'table_row',
'text' => 'text',
'toast_message' => 'toast_message',
'xpath_element' => 'xpath_element',
'form_row' => 'form_row',
'autocomplete_selection' => 'autocomplete_selection',
@@ -279,6 +280,9 @@ XPATH
XPATH
, 'text' => <<<XPATH
.//*[contains(., %locator%) and not(.//*[contains(., %locator%)])]
XPATH
, 'toast_message' => <<<XPATH
.//*[contains(concat(' ', normalize-space(@class), ' '), ' toast-message ') and %exactTagTextMatch%]
XPATH
, 'form_row' => <<<XPATH
.//*[contains(concat(' ', @class, ' '), ' col-form-label ')]
+13 -13
View File
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Configure access to reports based on intended audience
As an admin
I want to restrict which users have access to a report
@@ -27,12 +27,12 @@ Feature: Configure access to reports based on intended audience
And I click on the "Audience" dynamic tab
And I should see "There are no audiences for this report"
And I click on "Add audience 'Manually added users'" "link"
And I should see "Added audience 'Manually added users'"
And "Added audience 'Manually added users'" "toast_message" should be visible
And I should see "Audience not saved" in the "Manually added users" "core_reportbuilder > Audience"
And I set the following fields in the "Manually added users" "core_reportbuilder > Audience" to these values:
| Add users manually | User 1,User 3 |
And I press "Save changes"
And I should see "Audience saved"
And "Audience saved" "toast_message" should be visible
And I should not see "Audience not saved" in the "Manually added users" "core_reportbuilder > Audience"
And I should see "User 1, User 3" in the "Manually added users" "core_reportbuilder > Audience"
And I should not see "There are no audiences for this report"
@@ -52,7 +52,7 @@ Feature: Configure access to reports based on intended audience
And I click on the "Audience" dynamic tab
When I click on "Add audience 'Site administrators'" "link"
And I press "Save changes"
Then I should see "Audience saved"
Then "Audience saved" "toast_message" should be visible
And I click on the "Access" dynamic tab
And I should see "Admin User" in the "reportbuilder-table" "table"
And I should not see "User 1" in the "reportbuilder-table" "table"
@@ -66,11 +66,11 @@ Feature: Configure access to reports based on intended audience
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I click on the "Audience" dynamic tab
When I click on "Add audience 'Assigned system role'" "link"
And I should see "Added audience 'Assigned system role'"
And "Added audience 'Assigned system role'" "toast_message" should be visible
And I set the following fields in the "Assigned system role" "core_reportbuilder > Audience" to these values:
| Select a role | Manager |
And I press "Save changes"
Then I should see "Audience saved"
Then "Audience saved" "toast_message" should be visible
And I should see "Manager" in the "Assigned system role" "core_reportbuilder > Audience"
And I click on the "Access" dynamic tab
And I should not see "User 1" in the "reportbuilder-table" "table"
@@ -90,11 +90,11 @@ Feature: Configure access to reports based on intended audience
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I click on the "Audience" dynamic tab
When I click on "Add audience 'Member of cohort'" "link"
And I should see "Added audience 'Member of cohort'"
And "Added audience 'Member of cohort'" "toast_message" should be visible
And I set the following fields in the "Member of cohort" "core_reportbuilder > Audience" to these values:
| Select members from cohort | Cohort1 |
And I press "Save changes"
Then I should see "Audience saved"
Then "Audience saved" "toast_message" should be visible
And I should see "Cohort1" in the "Member of cohort" "core_reportbuilder > Audience"
And I click on the "Access" dynamic tab
And I should not see "User 1" in the "reportbuilder-table" "table"
@@ -134,9 +134,9 @@ Feature: Configure access to reports based on intended audience
Then I should see "All users" in the "[data-region=sidebar-menu]" "css_element"
And I should not see "Member of cohort" in the "[data-region=sidebar-menu]" "css_element"
And I click on "Add audience 'All users'" "link"
And I should see "Added audience 'All users'"
And "Added audience 'All users'" "toast_message" should be visible
And I press "Save changes"
And I should see "Audience saved"
And "Audience saved" "toast_message" should be visible
Scenario: Rename report audience
Given I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
@@ -167,7 +167,7 @@ Feature: Configure access to reports based on intended audience
When I click on "Delete audience 'All users'" "button"
And I should see "Are you sure you want to delete the audience 'All users'?" in the "Delete audience 'All users'" "dialogue"
And I click on "Delete" "button" in the "Delete audience 'All users'" "dialogue"
Then I should see "Deleted audience 'All users'"
Then "Deleted audience 'All users'" "toast_message" should be visible
And "All users" "core_reportbuilder > Audience" should not exist
And I should see "There are no audiences for this report"
@@ -190,7 +190,7 @@ Feature: Configure access to reports based on intended audience
And I click on "Delete audience 'All users'" "button"
And I should see "This audience is used in a schedule for this report" in the "Delete audience 'All users'" "dialogue"
And I click on "Delete" "button" in the "Delete audience 'All users'" "dialogue"
And I should see "Deleted audience 'All users'"
And "Deleted audience 'All users'" "toast_message" should be visible
And "All users" "core_reportbuilder > Audience" should not exist
And I should see "There are no audiences for this report"
@@ -209,7 +209,7 @@ Feature: Configure access to reports based on intended audience
And I set the following fields in the "Manually added users" "core_reportbuilder > Audience" to these values:
| Add users manually | User 2 |
And I press "Save changes"
Then I should see "Audience saved"
Then "Audience saved" "toast_message" should be visible
And I should see "User 2" in the "Manually added users" "core_reportbuilder > Audience"
And I click on the "Access" dynamic tab
And I should not see "User 1" in the "reportbuilder-table" "table"
+2 -2
View File
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Manage card view settings in the report editor
In order to manage a report card view settings
As an admin
@@ -29,7 +29,7 @@ Feature: Manage card view settings in the report editor
| Columns visible | 3 |
| First column title | Yes |
And I press "Save changes"
And I should see "Card view settings saved"
And "Card view settings saved" "toast_message" should be visible
# Let's check that after switching to preview mode card view form gets rendered again.
And I click on "Switch to preview mode" "button"
And I click on "Switch to edit mode" "button"
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Manage custom report columns aggregation
In order to manage the aggregation for columns of custom reports
As an admin
@@ -22,7 +22,7 @@ Feature: Manage custom report columns aggregation
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I change window size to "large"
When I set the "First name" column aggregation to "<aggregation>"
Then I should see "Aggregated column 'First name'"
Then "Aggregated column 'First name'" "toast_message" should be visible
And I should see "<output>" in the "Richie" "table_row"
Examples:
| aggregation | output |
@@ -42,7 +42,7 @@ Feature: Manage custom report columns aggregation
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I change window size to "large"
When I set the "Full name" column aggregation to "<aggregation>"
Then I should see "Aggregated column 'Full name'"
Then "Aggregated column 'Full name'" "toast_message" should be visible
And I should see "<output>" in the "Richie" "table_row"
Examples:
| aggregation | output |
@@ -62,7 +62,7 @@ Feature: Manage custom report columns aggregation
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I change window size to "large"
When I set the "Last access" column aggregation to "<aggregation>"
Then I should see "Aggregated column 'Last access'"
Then "Aggregated column 'Last access'" "toast_message" should be visible
And I should see "<output>" in the "Richie" "table_row"
Examples:
| aggregation | output |
@@ -82,7 +82,7 @@ Feature: Manage custom report columns aggregation
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I change window size to "large"
When I set the "Confirmed" column aggregation to "<aggregation>"
Then I should see "Aggregated column 'Confirmed'"
Then "Aggregated column 'Confirmed'" "toast_message" should be visible
And I should see "<output>" in the "Richie" "table_row"
Examples:
| aggregation | output |
@@ -110,7 +110,7 @@ Feature: Manage custom report columns aggregation
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I change window size to "large"
When I set the "Confirmed" column aggregation to "<aggregation>"
Then I should see "Aggregated column 'Confirmed'"
Then "Aggregated column 'Confirmed'" "toast_message" should be visible
And I should see "<output>" in the "Richie" "table_row"
Examples:
| aggregation | output |
@@ -131,7 +131,7 @@ Feature: Manage custom report columns aggregation
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
And I change window size to "large"
When I set the "First name" column aggregation to "<aggregation>"
Then I should see "Aggregated column 'First name'"
Then "Aggregated column 'First name'" "toast_message" should be visible
And I should see "<output>" in the "Richie" "table_row"
Examples:
| aggregation | output |
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Manage custom report columns
In order to manage the columns of custom reports
As an admin
@@ -10,7 +10,7 @@ Feature: Manage custom report columns
| My report | core_user\reportbuilder\datasource\users | 0 |
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
When I click on "Add column 'Full name'" "link"
Then I should see "Added column 'Full name'"
Then "Added column 'Full name'" "toast_message" should be visible
And I should see "Full name" in the "reportbuilder-table" "table"
Scenario: Search for and add column to report
@@ -23,7 +23,7 @@ Feature: Manage custom report columns
Then I should see "Last name" in the "[data-region=sidebar-menu]" "css_element"
And I should not see "Email address" in the "[data-region=sidebar-menu]" "css_element"
And I click on "Add column 'Last name'" "link"
And I should see "Added column 'Last name'"
And "Added column 'Last name'" "toast_message" should be visible
And I should see "Last name" in the "reportbuilder-table" "table"
Scenario: Rename column in report
@@ -66,7 +66,7 @@ Feature: Manage custom report columns
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
When I click on "Move column 'Last access'" "button"
And I click on "After \"Full name\"" "link" in the "Move column 'Last access'" "dialogue"
Then I should see "Moved column 'Last access'"
Then "Moved column 'Last access'" "toast_message" should be visible
And "Last access" "text" should appear before "Email address" "text"
Scenario: Delete column from report
@@ -79,5 +79,5 @@ Feature: Manage custom report columns
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
When I click on "Delete column 'Full name'" "button"
And I click on "Delete" "button" in the "Delete column 'Full name'" "dialogue"
Then I should see "Deleted column 'Full name'"
Then "Deleted column 'Full name'" "toast_message" should be visible
And I should see "Nothing to display"
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Manage custom report columns sorting
In order to manage the sorting for columns of custom reports
As an admin
@@ -26,10 +26,11 @@ Feature: Manage custom report columns sorting
# This will be the fallback sort after toggling lastname sorting.
And I click on "Enable initial sorting for column 'First name'" "checkbox"
When I click on "Enable initial sorting for column 'Last name'" "checkbox"
Then I should see "Updated sorting for column 'Last name'"
Then "Updated sorting for column 'Last name'" "toast_message" should be visible
And "user02" "table_row" should appear before "user01" "table_row"
And I wait until "Updated sorting for column 'Last name'" "toast_message" does not exist
And I click on "Disable initial sorting for column 'Last name'" "checkbox"
And I should see "Updated sorting for column 'Last name'"
And "Updated sorting for column 'Last name'" "toast_message" should be visible
And "user01" "table_row" should appear before "user02" "table_row"
Scenario: Change column sort direction in report
@@ -37,10 +38,11 @@ Feature: Manage custom report columns sorting
And I click on "Show/hide 'Sorting'" "button"
When I click on "Enable initial sorting for column 'Last name'" "checkbox"
And I click on "Change initial sorting for column 'Last name' to descending" "button"
Then I should see "Updated sorting for column 'Last name'"
Then "Updated sorting for column 'Last name'" "toast_message" should be visible
And "user01" "table_row" should appear before "user02" "table_row"
And I wait until "Updated sorting for column 'Last name'" "toast_message" does not exist
And I click on "Change initial sorting for column 'Last name' to ascending" "button"
And I should see "Updated sorting for column 'Last name'"
And "Updated sorting for column 'Last name'" "toast_message" should be visible
And "user02" "table_row" should appear before "user01" "table_row"
Scenario: Change column sort order in report
@@ -50,7 +52,7 @@ Feature: Manage custom report columns sorting
And I click on "Enable initial sorting for column 'First name'" "checkbox"
And I click on "Move sorting for column 'First name'" "button"
And I click on "To the top of the list" "link" in the "Move sorting for column 'First name'" "dialogue"
Then I should see "Updated sorting for column 'First name'"
Then "Updated sorting for column 'First name'" "toast_message" should be visible
And "First name" "text" should appear before "Last name" "text" in the "#settingssorting" "css_element"
And "user01" "table_row" should appear before "user02" "table_row"
@@ -59,12 +61,13 @@ Feature: Manage custom report columns sorting
And I click on "Add column 'Full name'" "link"
And I click on "Show/hide 'Sorting'" "button"
When I click on "Enable initial sorting for column 'Full name'" "checkbox"
Then I should see "Updated sorting for column 'Full name'"
Then "Updated sorting for column 'Full name'" "toast_message" should be visible
# User1 = Alice Zebra; User2=Zoe Aardvark; User3 = Alice Badger.
And "user03" "table_row" should appear before "user01" "table_row"
And "user01" "table_row" should appear before "user02" "table_row"
And I wait until "Updated sorting for column 'Full name'" "toast_message" does not exist
And I click on "Change initial sorting for column 'Full name' to descending" "button"
And I should see "Updated sorting for column 'Full name'"
And "Updated sorting for column 'Full name'" "toast_message" should be visible
And "user02" "table_row" should appear before "user01" "table_row"
And "user01" "table_row" should appear before "user03" "table_row"
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Manage custom report conditions
In order to manage the conditions of custom reports
As an admin
@@ -23,13 +23,13 @@ Feature: Manage custom report conditions
When I click on "Show/hide 'Conditions'" "button"
Then I should see "There are no conditions selected" in the "[data-region='settings-conditions']" "css_element"
And I set the field "Select a condition" to "Email address"
And I should see "Added condition 'Email address'"
And "Added condition 'Email address'" "toast_message" should be visible
And I should not see "There are no conditions selected" in the "[data-region='settings-conditions']" "css_element"
And I set the following fields in the "Email address" "core_reportbuilder > Condition" to these values:
| Email address operator | Does not contain |
| Email address value | user02 |
And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
And I should see "Conditions applied"
And "Conditions applied" "toast_message" should be visible
And I should see "User One" in the "reportbuilder-table" "table"
And I should not see "User Two" in the "reportbuilder-table" "table"
@@ -43,7 +43,7 @@ Feature: Manage custom report conditions
| Tag name operator | Is equal to |
| Tag name value | dancing |
And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
Then I should see "Conditions applied"
Then "Conditions applied" "toast_message" should be visible
And I should see "User One" in the "reportbuilder-table" "table"
And I should not see "User Two" in the "reportbuilder-table" "table"
@@ -57,7 +57,7 @@ Feature: Manage custom report conditions
When I click on "Show/hide 'Conditions'" "button"
And I click on "Move condition 'Country'" "button"
And I click on "After \"Full name\"" "link" in the "Move condition 'Country'" "dialogue"
Then I should see "Moved condition 'Country'"
Then "Moved condition 'Country'" "toast_message" should be visible
And "Country" "text" should appear before "Email address" "text"
Scenario: Delete condition from report
@@ -73,7 +73,7 @@ Feature: Manage custom report conditions
And I click on "Apply" "button" in the "[data-region='settings-conditions']" "css_element"
And I click on "Delete condition 'Email address'" "button"
And I click on "Delete" "button" in the "Delete condition 'Email address'" "dialogue"
Then I should see "Deleted condition 'Email address'"
Then "Deleted condition 'Email address'" "toast_message" should be visible
And I should see "There are no conditions selected" in the "[data-region='settings-conditions']" "css_element"
And "[data-region='active-conditions']" "css_element" should not exist
And I should see "User One" in the "reportbuilder-table" "table"
@@ -93,7 +93,7 @@ Feature: Manage custom report conditions
And I should see "Nothing to display"
And I click on "Reset all" "button" in the "[data-region='settings-conditions']" "css_element"
And I click on "Reset all" "button" in the "Reset conditions" "dialogue"
Then I should see "Conditions reset"
Then "Conditions reset" "toast_message" should be visible
And the following fields in the "Email address" "core_reportbuilder > Condition" match these values:
| Email address operator | Is any value |
And I should see "User One" in the "reportbuilder-table" "table"
@@ -146,7 +146,7 @@ Feature: Manage custom reports
| Name | My renamed report |
| Tags | Cat, Dog |
And I click on "Save" "button" in the "Edit report details" "dialogue"
Then I should see "Report updated"
Then "Report updated" "toast_message" should be visible
And the following should exist in the "Reports list" table:
| Name | Tags | Report source |
| My renamed report | Cat, Dog | Users |
@@ -167,7 +167,7 @@ Feature: Manage custom reports
| <filter> operator | Is equal to |
| <filter> value | <value> |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then I should see "Filters applied"
Then "Filters applied" "toast_message" should be visible
And the following should exist in the "Reports list" table:
| Name | Tags | Report source |
| My users | Cat, Dog | Users |
@@ -190,7 +190,7 @@ Feature: Manage custom reports
| Time created from | ##2 days ago## |
| Time created to | ##tomorrow## |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then I should see "Filters applied"
Then "Filters applied" "toast_message" should be visible
And I should see "My report" in the "Reports list" "table"
And I set the field "Time created to" in the "Time created" "core_reportbuilder > Filter" to "##yesterday##"
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
@@ -208,13 +208,14 @@ Feature: Manage custom reports
| Name operator | Contains |
| Name value | Lionel |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then "Filters applied" "toast_message" should be visible
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 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
Then I should see "Filters reset"
Then "Filters reset" "toast_message" should be visible
And the following fields in the "Name" "core_reportbuilder > Filter" match these values:
| Name operator | Is any value |
And I should see "My report" in the "Reports list" "table"
@@ -242,7 +243,7 @@ Feature: Manage custom reports
When I navigate to "Reports > Report builder > Custom reports" in site administration
And I press "Delete report" action in the "My report" report row
And I click on "Delete" "button" in the "Delete report" "dialogue"
Then I should see "Report deleted"
Then "Report deleted" "toast_message" should be visible
And I should see "Nothing to display"
Scenario: Switch between Preview and Edit mode
@@ -1,4 +1,4 @@
@core_reportbuilder @javascript
@core @core_reportbuilder @javascript
Feature: Manage custom report filters
In order to manage the filters of custom reports
As an admin
@@ -12,7 +12,7 @@ Feature: Manage custom report filters
When I click on "Show/hide 'Filters'" "button"
Then I should see "There are no filters selected" in the "[data-region='active-filters']" "css_element"
And I set the field "Select a filter" to "Email address"
And I should see "Added filter 'Email address'"
And "Added filter 'Email address'" "toast_message" should be visible
And I should not see "There are no filters selected" in the "[data-region='active-filters']" "css_element"
And I should see "Email address" in the "[data-region='active-filters']" "css_element"
@@ -74,7 +74,7 @@ Feature: Manage custom report filters
When I click on "Show/hide 'Filters'" "button"
And I click on "Move filter 'Country'" "button"
And I click on "After \"Full name\"" "link" in the "Move filter 'Country'" "dialogue"
Then I should see "Moved filter 'Country'"
Then "Moved filter 'Country'" "toast_message" should be visible
And "Country" "text" should appear before "Email address" "text"
Scenario: Delete filter from report
@@ -88,7 +88,7 @@ Feature: Manage custom report filters
And I click on "Show/hide 'Filters'" "button"
And I click on "Delete filter 'Email address'" "button"
And I click on "Delete" "button" in the "Delete filter 'Email address'" "dialogue"
Then I should see "Deleted filter 'Email address'"
Then "Deleted filter 'Email address'" "toast_message" should be visible
And I should see "There are no filters selected" in the "[data-region='active-filters']" "css_element"
And I should not see "Email address" in the "[data-region='active-filters']" "css_element"
@@ -102,13 +102,14 @@ Feature: Manage custom report filters
| Full name operator | Contains |
| Full name value | Lionel |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
And "Filters applied" "toast_message" should be visible
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 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
Then I should see "Filters reset"
Then "Filters reset" "toast_message" should be visible
And the following fields in the "Full name" "core_reportbuilder > Filter" match these values:
| Full name operator | Is any value |
And I should see "Admin User" in the "Users" "table"
@@ -140,7 +141,7 @@ Feature: Manage custom report filters
| Full name operator | Does not contain |
| Full name value | User 2 |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then I should see "Filters applied"
Then "Filters applied" "toast_message" should be visible
And I should see "Filters (1)" in the "#dropdownFiltersButton" "css_element"
And the following should exist in the "reportbuilder-table" table:
| Full name | Email address |
@@ -191,7 +192,7 @@ Feature: Manage custom report filters
| Email address operator | Is not equal to |
| Email address value | user2@example.com |
And I click on "Apply" "button" in the "[data-region='report-filters']" "css_element"
Then I should see "Filters applied"
Then "Filters applied" "toast_message" should be visible
And I should see "Filters (1)" in the "#dropdownFiltersButton" "css_element"
# Assert we haven't overridden the condition and user3 is still not showing in the report.
And the following should exist in the "reportbuilder-table" table:
+4 -4
View File
@@ -39,7 +39,7 @@ Feature: Manage custom report schedules
And I should see "All my lovely users" in the "New schedule" "dialogue"
And I set the field "Manually added users: User One, User Two" to "1"
And I click on "Save" "button" in the "New schedule" "dialogue"
Then I should see "Schedule created"
Then "Schedule created" "toast_message" should be visible
And the following should exist in the "Report schedules" table:
| Name | Starting from | Time last sent | Modified by |
| My schedule | ##tomorrow 11:00##%A, %d %B %Y, %H:%M## | Never | Admin User |
@@ -108,7 +108,7 @@ Feature: Manage custom report schedules
| Starting from | ##tomorrow 11:00## |
| All users: All site users | 1 |
And I click on "Save" "button" in the "Edit schedule details" "dialogue"
Then I should see "Schedule updated"
Then "Schedule updated" "toast_message" should be visible
And the following should exist in the "Report schedules" table:
| Name | Starting from |
| My updated schedule | ##tomorrow 11:00##%A, %d %B %Y, %H:%M## |
@@ -121,7 +121,7 @@ Feature: Manage custom report schedules
And I click on the "Schedules" dynamic tab
When I press "Send schedule" action in the "My schedule" report row
And I click on "Confirm" "button" in the "Send schedule" "dialogue"
Then I should see "Schedule sent"
Then "Schedule sent" "toast_message" should be visible
Scenario: Delete report schedule
Given the following "core_reportbuilder > Schedules" exist:
@@ -131,5 +131,5 @@ Feature: Manage custom report schedules
And I click on the "Schedules" dynamic tab
When I press "Delete schedule" action in the "My schedule" report row
And I click on "Delete" "button" in the "Delete schedule" "dialogue"
Then I should see "Schedule deleted"
Then "Schedule deleted" "toast_message" should be visible
And I should see "Nothing to display"