Skip to content

Commit

Permalink
Adapt behat feature to new modal
Browse files Browse the repository at this point in the history
  • Loading branch information
justusdieckmann committed Jan 11, 2024
1 parent be33e22 commit 5811820
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/behat/block_opencast_manageseries.feature
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,17 @@ Feature: Manage series as Teacher
Scenario: When manually deleting a block, teacher will be asked to decide whether to delete seriesmapping in a confirmation.
When I open the action menu in "Opencast Videos" "block"
And I click on "Delete Opencast Videos block" "link"
And I click on "Delete" "button" in the "Remove Opencast Block?" "dialogue"
Then I should see "Delete Opencast course series mapping"
When I click on "No" "button"
Then I should see "Remove Opencast Block?"
When I click on "Delete block, but keep series mapping" "button"
Then I add the "Opencast Videos" block
And I click on "Go to overview..." "link"
And I click on "Manage series" "link"
Then I should see "Test series"
When I am on "Course 1" course homepage with editing mode on
When I open the action menu in "Opencast Videos" "block"
And I click on "Delete Opencast Videos block" "link"
And I click on "Delete" "button" in the "Remove Opencast Block?" "dialogue"
Then I should see "Delete Opencast course series mapping"
When I click on "Yes" "button"
When I click on "Delete block and series mapping" "button"
And I wait to be redirected
Then I add the "Opencast Videos" block
And I click on "Go to overview..." "link"
And I click on "Manage series" "link"
Expand Down

0 comments on commit 5811820

Please sign in to comment.