Skip to content

Commit

Permalink
Merge branch 'MDL-71963' of https://github.com/stronk7/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdef authored and stronk7 committed Oct 5, 2021
2 parents fa72197 + ba84d52 commit 98804a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks/tests/behat/delete_block.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Block removal via modal
And I log in as "admin"
And I am on "Course 1" course homepage with editing mode on
And I add the "Search forums" block
And I should see "Search forums"
And "Search forums" "block" should exist

@javascript
Scenario: Removing a block via modal should remove the block on the page
Expand All @@ -20,7 +20,7 @@ Feature: Block removal via modal
Then "Delete block?" "dialogue" should exist
And I click on "Delete" "button" in the "Delete block?" "dialogue"
And I wait to be redirected
And I should not see "Search forums"
And "Search forums" "block" should not exist

@javascript
Scenario: Cancel removing a block via modal should retain the block on the page
Expand All @@ -29,4 +29,4 @@ Feature: Block removal via modal
Then "Delete block?" "dialogue" should exist
And I click on "Cancel" "button" in the "Delete block?" "dialogue"
And I should not see "Delete block?"
And I should see "Search forums"
And "Search forums" "block" should exist

0 comments on commit 98804a0

Please sign in to comment.