magento / adobe-stock-integration

Magento Adobe Stock integration Community Project.
Open Software License 3.0
60 stars 92 forks source link

[MFTF] Cover filtering by Source #1393

Closed chalov-anton closed 4 years ago

chalov-anton commented 4 years ago

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 Adobe Stock API credentials are saved in configuration User has Licensed and Unlicensed images in Media Gallery User navigate to Content - Media - Media Gallery Media Gallery is opened User clicks Upload Image button "Open Files" window appears User select valid images. (jpeg, png, gif. Less than 2MB size each) User click Open button from "Open Files" window Assert that success message appears "Successfully uploaded an image" Asserts that the successfully uploaded images exist in Media Gallery User navigate to Content - Media - Media Gallery Media Gallery is opened User clicks Filters button User sees filtering options by "Uploaded Date", "Modification Date", "License Status", "Source" Assert that the default value for "Source" filter is "All" User click on drop-down under "Source" Assert that the available options are "All", "Adobe Stock", "Uploaded Locally" User selects Adobe Stock from Source dropdown User clicks Apply Filters button Assert that the "Active filters: Source: Adobe Stock" is applied Assert that only images added from Adobe Stock are displayed on the grid User clicks Filters button User click on drop-down under "Source" User selects Uploaded Locally from Source dropdown User clicks Apply Filters button Assert that the "Active filters: Source:" has changed to "Uploaded Locally" Assert that only images Uploaded locally are displayed on the grid, no Adobe Stock images User clicks on the cross X near the Source filter Assert that the Active filters is cleared Assert that all the images are displayed on Media Gallery grid

Note (*)

Test on Cucumber Studio - https://studio.cucumber.io/projects/131313/test-plan/folders/1337102/scenarios/4760144

m2-assistant[bot] commented 4 years ago

Hi @chalov-anton. 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