|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 10 | + <test name="AdminMediaGalleryCategorySavedPreviewAddSelectedTest"> |
| 11 | + <annotations> |
| 12 | + <features value="AdobeStockImagePanel"/> |
| 13 | + <stories value="[Story #4] User selects saved image preview in Category"/> |
| 14 | + <useCaseId value="https://github.com/magento/adobe-stock-integration/issues/1688"/> |
| 15 | + <title value="User saves image preview and clicks add selection to content in Category"/> |
| 16 | + <testCaseId value="https://studio.cucumber.io/projects/131313/test-plan/folders/1054245/scenarios/5068945"/> |
| 17 | + <description value="Admin should be able to save image preview and clicks add selection button"/> |
| 18 | + <severity value="CRITICAL"/> |
| 19 | + <group value="adobe_stock_media_gallery"/> |
| 20 | + </annotations> |
| 21 | + <before> |
| 22 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
| 23 | + <actionGroup ref="AdminOpenCategoryPageActionGroup" stepKey="openCategoryPage"/> |
| 24 | + <actionGroup ref="AdminOpenMediaGalleryFromCategoryImageUploaderActionGroup" stepKey="openMediaGalleryFromWysiwyg"/> |
| 25 | + <actionGroup ref="AdminEnhancedMediaGallerySearchAdobeStockActionGroup" stepKey="openAdobeStockPanel"/> |
| 26 | + </before> |
| 27 | + <after> |
| 28 | + <actionGroup ref="AdminOpenMediaGalleryFromCategoryImageUploaderActionGroup" stepKey="openMediaGalleryFromWysiwyg"/> |
| 29 | + <actionGroup ref="AdminEnhancedMediaGalleryImageDeleteActionGroup" stepKey="removeSavedPreview"/> |
| 30 | + </after> |
| 31 | + <actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/> |
| 32 | + <actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="saveImagePreview"/> |
| 33 | + <actionGroup ref="AdminSaveAdobeStockImagePreviewActionGroup" stepKey="confirmSaveImagePreview"/> |
| 34 | + <actionGroup ref="AdminMediaGalleryClickAddSelectedActionGroup" stepKey="addSelectedSavedPreview"/> |
| 35 | + </test> |
| 36 | +</tests> |
0 commit comments