Skip to content

Commit

Permalink
MDL-72605 my: Fix behat error with classic
Browse files Browse the repository at this point in the history
This is a regression caused by MDL-72116, where the "Upcoming events"
block was removed from the dashboard.
In classic is failing because the text "Upcoming events" is displayed
in the "Add a block" list. So stopping edition should fix the issue.
  • Loading branch information
sarjona committed Sep 17, 2021
1 parent 5ea3545 commit 3b4b891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions my/tests/behat/add_blocks.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Feature: Add blocks to dashboard page
Scenario: Add blocks to page
When I press "Customise this page"
And I add the "Latest announcements" block
And I press "Stop customising this page"
Then I should see "Latest announcements" in the "Latest announcements" "block"
And I should see "Latest badges" in the "Latest badges" "block"
And I should see "Calendar" in the "Calendar" "block"
Expand Down

0 comments on commit 3b4b891

Please sign in to comment.