From 782dd66ced50193680fe2d7178410bdda9fad4c6 Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Thu, 5 Dec 2019 12:17:42 +0200 Subject: [PATCH] Issue #3098750: Fix the Automated Functional Acceptance Testing group: 03 admin management for [Media Library] and the [Media Grid and Media Table] admin pages --- ...-media-and-their-usage-list-page-for-admins.feature | 10 +++++----- ...cleanup-leftover-media-in-the-media-library.feature | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature b/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature index 6d5aa8dd..ec399414 100644 --- a/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature +++ b/tests/features/varbase/step2-apply-tests/03-admin-management/03-04-image-media-and-their-usage-list-page-for-admins.feature @@ -8,7 +8,7 @@ So that I will be able to manage files, see where they have been used in content @javascript @local @development @staging @production Scenario: Check if content admins can access the content files page - When I go to "admin/content/media-table" + When I go to "admin/content/media" And I wait Then I should see "Add media" And I should not see "Access denied" @@ -30,13 +30,13 @@ So that I will be able to manage files, see where they have been used in content And I wait Then I should see "Flag Earth" And I wait - When I go to "admin/content/media-table" + When I go to "admin/content/media" Then I should see "Add media" And I should see the "Edit" in the "Flag Earth" row @javascript @local @development @staging @production Scenario: Check if content admins can edit files - When I go to "admin/content/media-table" + When I go to "admin/content/media" And I wait Then I should see "Add media" When I fill in "Flag Earth" for "edit-name" @@ -54,7 +54,7 @@ So that I will be able to manage files, see where they have been used in content @javascript @local @development @staging @production Scenario: Check if content admins can delete files - When I go to "admin/content/media-table" + When I go to "admin/content/media" And I wait Then I should see "Add media" When I fill in "Flag Earth after edit" for "edit-name" @@ -69,4 +69,4 @@ So that I will be able to manage files, see where they have been used in content Then I should see "This action cannot be undone." When I press the "Delete" button And I wait - Then I should see "The media Flag Earth after edit has been deleted." + Then I should see "The media item Flag Earth after edit has been deleted." diff --git a/tests/features/varbase/step3-cleanup-tests/04-cleanup-leftover-media-in-the-media-library.feature b/tests/features/varbase/step3-cleanup-tests/04-cleanup-leftover-media-in-the-media-library.feature index c30249ce..28df7c7e 100644 --- a/tests/features/varbase/step3-cleanup-tests/04-cleanup-leftover-media-in-the-media-library.feature +++ b/tests/features/varbase/step3-cleanup-tests/04-cleanup-leftover-media-in-the-media-library.feature @@ -3,7 +3,7 @@ Feature: Cleanup leftover media from the Media Library @javascript @cleanup @local @development Scenario: Delete leftover media from the Media Library Given I am a logged in user with the "webmaster" user - When I go to "/admin/content/media" + When I go to "/admin/content/media-grid" And I wait Then I should see "Media" When I check the box "edit-select-all" -- GitLab