From 0cb87c920ec716bec819366bb785e165c05e4cb7 Mon Sep 17 00:00:00 2001 From: Thomas Niedermaier Date: Thu, 7 Nov 2024 14:04:38 +0100 Subject: [PATCH] behat: replace class trash by trash-can --- tests/behat/block_opencast_deletedraft.feature | 2 +- tests/behat/block_opencast_deleteevent.feature | 4 ++-- tests/behat/block_opencast_manageseries.feature | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/behat/block_opencast_deletedraft.feature b/tests/behat/block_opencast_deletedraft.feature index 79ed9e8f..75d36b90 100644 --- a/tests/behat/block_opencast_deletedraft.feature +++ b/tests/behat/block_opencast_deletedraft.feature @@ -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" diff --git a/tests/behat/block_opencast_deleteevent.feature b/tests/behat/block_opencast_deleteevent.feature index 547e68dd..ec0a02f1 100644 --- a/tests/behat/block_opencast_deleteevent.feature +++ b/tests/behat/block_opencast_deleteevent.feature @@ -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" @@ -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" diff --git a/tests/behat/block_opencast_manageseries.feature b/tests/behat/block_opencast_manageseries.feature index 538760fa..549748ce 100644 --- a/tests/behat/block_opencast_manageseries.feature +++ b/tests/behat/block_opencast_manageseries.feature @@ -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