Skip to content

Commit

Permalink
behat: replace class trash by trash-can
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetom committed Nov 7, 2024
1 parent 1dbeb38 commit 0cb87c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/behat/block_opencast_deletedraft.feature
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Feature: Delete draft
And I upload "blocks/opencast/tests/fixtures/test.mp4" file to "Presenter video" filemanager
And I click on "Add video" "button"
Then I should see "test.mp4"
When I click on ".generaltable i.fa-trash" "css_element"
When I click on ".generaltable i.fa-trash-can" "css_element"
Then I should see "Delete video before transfer to Opencast"
And I click on "Continue" "button"
Then I should see "The video is deleted successfully"
Expand Down
4 changes: 2 additions & 2 deletions tests/behat/block_opencast_deleteevent.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Feature: Delete videos
@javascript
Scenario: A teacher should be able to delete a video
When I click on "Go to overview..." "link"
And I click on "#opencast-videos-table-1234-1234-1234-1234-1234_r0 i.fa-trash" "css_element"
And I click on "#opencast-videos-table-1234-1234-1234-1234-1234_r0 i.fa-trash-can" "css_element"
And I click on "Delete video permanently" "button"
Then I should see "The video will be deleted shortly"

Expand All @@ -43,6 +43,6 @@ Feature: Delete videos
| config | value | plugin |
| deleteworkflow_1 | delete | block_opencast |
When I click on "Go to overview..." "link"
And I click on "#opencast-videos-table-1234-1234-1234-1234-1234_r0 i.fa-trash" "css_element"
And I click on "#opencast-videos-table-1234-1234-1234-1234-1234_r0 i.fa-trash-can" "css_element"
And I click on "Delete video permanently" "button"
Then I should see "The video will be deleted shortly"
2 changes: 1 addition & 1 deletion tests/behat/block_opencast_manageseries.feature
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Feature: Manage series as Teacher
Given I create a second series
When I click on "Go to overview..." "link"
And I click on "Manage series" "link"
And I click on ".tabulator-row-even i.fa-trash" "css_element"
And I click on ".tabulator-row-even i.fa-trash-can" "css_element"
Then I should see "Are you sure you want to delete this series"
When I click on "Delete" "button" in the ".modal" "css_element"
And I wait "2" seconds
Expand Down

0 comments on commit 0cb87c9

Please sign in to comment.