Skip to content
Snippets Groups Projects
Commit 782dd66c authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3098750: Fix the Automated Functional Acceptance Testing group: 03...

Issue #3098750: Fix the Automated Functional Acceptance Testing group: 03 admin management for [Media Library] and the [Media Grid and Media Table] admin pages
parent 4163c369
No related branches found
No related tags found
No related merge requests found
......@@ -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."
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment