Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MFTF] Cover Used In Media Gallery filter with MFTF tests #1567

Closed
sivaschenko opened this issue Jul 7, 2020 · 1 comment · Fixed by #1580
Closed

[MFTF] Cover Used In Media Gallery filter with MFTF tests #1567

sivaschenko opened this issue Jul 7, 2020 · 1 comment · Fixed by #1580
Assignees
Labels
MFTF tests MFTF tests coverage Priority: P2 Should be fixed as early as possible
Milestone

Comments

@sivaschenko
Copy link
Member

sivaschenko commented Jul 7, 2020

Preconditions (*)

  1. Installed Magento with Adobe Stock Integration
  2. Configured integration in Stores -> Configuration -> System -> Adobe Stock Integration fieldset

Steps to reproduce (*)

Admin user is logged in to admin panel
Go to Stores - Configuration under Settings section
Assert that Configuration window is opened
User expands Advanced tab
User click System
User expands Enhanced Media Gallery tab
User selects Yes from Enabled dropdown
User clicks Save config button
Assert that the configuration has been saved
User has several images in Media Gallery
User creates a new Page and adds an image to its Content
Navigate to cms/page page
Click Add New Page button
Expand Content fieldset
Click Show/Hide Editor button
Click Insert Image ... button
User expand 'Filters'
Assert that 'Show Images Used In' drop down filter is displayed with the default value - "Select..."
User clicks on 'Show Images Used In' drop down
Assert that the following check boxes are available: 'Pages', 'Categories', 'Blocks', 'Products'
User checks the 'Pages' checkbox
Assert that the 'Pages' block appeared in 'Show images Used In' filter field
User clicks Done button
Assert that the drop down is minimized
User click 'Apply Filters'
Assert that the "Active filters: Show Images Used In: Page" is applied
Assert that the image that was previously added to a Page is displayed
Clear filters
Assert that all the images from Media Gallery Grid are displayed

Note (*)

Story - #1291
Issue - #1462
PR - #1531
Test on Cucumber - https://studio.cucumber.io/projects/131313/test-plan/folders/1320712/scenarios/4930844

@m2-assistant
Copy link

m2-assistant bot commented Jul 7, 2020

Hi @sivaschenko. Thank you for your report.
To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MFTF tests MFTF tests coverage Priority: P2 Should be fixed as early as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants