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

[Story #6] User configures Adobe Stock integration #29

Closed
sidolov opened this issue May 10, 2019 · 2 comments
Closed

[Story #6] User configures Adobe Stock integration #29

sidolov opened this issue May 10, 2019 · 2 comments

Comments

@sidolov
Copy link
Contributor

sidolov commented May 10, 2019

Story

As a Merchant I want to configure Adobe Stock integration on my Magento instance

Business Value

no need to maintain API credentials on Magento side

Preconditions

  • Admin User is logged into Admin Panel
  • User configured new Adobe Stock integration on adobe.io console

Acceptance Criteria

  • User goes Media Gallery and opens Adobe Stock. User sees message that Adobe Stock disabled and API is missing with the link to Store-Configuration-Advanced-System. User clicks the link and navigates to Adobe Stock Integration configuration options
  • User enables Adobe Stock
  • User sees the following required fields in empty state:
    • API Keys (x-api-key)
  • User sees a message that explains how to get these credentials with a link to Adobe.io
  • User copies API key generated on Adobe.io side and inserts it into the API key field
  • User sees a message that API key is valid. If user inserted wrong API key, error message displayed. Configuration can't be saved with not valid API key
  • User copies name that they chose for the integration when created it on adobe.io console
  • User saves configuration
  • If API key is invalid, user sees message about that next the API Keys field. Configuration is saved with the wrong key
  • User goes Media Gallery and opens Adobe Stock. If API key is invalid, user sees message about that. No image search possible.

https://xd.adobe.com/view/0a8fc470-497b-4fd6-4043-62560c21d8db-7cbe/screen/bf0d5d64-e91b-4b77-9926-a3ca7946d808/Configuration

@sidolov sidolov added the Story label May 10, 2019
@diazwatson diazwatson self-assigned this May 11, 2019
sivaschenko added a commit that referenced this issue Jun 11, 2019
#29 User configures Adobe Stock integration
diazwatson added a commit that referenced this issue Jun 11, 2019
@sivaschenko looks fine to me only one thing missing comparing with what I have
sivaschenko added a commit that referenced this issue Jun 11, 2019
#29 Update reference to block in phtml
@TomashKhamlai
Copy link

@sidolov, considering this acceptance criterion "User sees the following required fields in the empty state: - API Keys (x-api-key)" does it means that this scenario is valid?

User enables Adobe Stock Integration
User copies credentials from console.adobe.io and saves the configuration
User flushes cache
User disables Adobe Stock Integration and saves the configuration
User flushes cache
User enables Adobe Stock Integration
User sees the following required fields in the empty state: - API Keys (x-api-key)

or this criterion means only that Magento doesn't include any credentials out of the box?

@sidolov
Copy link
Contributor Author

sidolov commented Jun 20, 2019

@TomashKhamlai I believe this statement valid only for the first time when you don't have any credentials at all. Once you filled the field and saved the configuration you should see the filled field (hidden, password style)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants