Skip to content

Commit

Permalink
Merge pull request #91 from magento-cia/2.4.6-develop-2.4-develop-syn…
Browse files Browse the repository at this point in the history
…c-11222022

Sync of 2.4.6-develop with 2.4-develop
  • Loading branch information
dvoskoboinikov authored Nov 23, 2022
2 parents 657e9c1 + e0cdbf0 commit 8f00fd3
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 29 deletions.
2 changes: 1 addition & 1 deletion AdobeStockAdminUi/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-admin-ui",
"description": "Magento module responsible for the admin panel UI implementation",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-admin-adobe-ims": "*",
"magento/module-adobe-ims-api": "*",
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockAsset/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-asset",
"description": "Magento module responsible for the Adobe Stock assets handling implementation on Magento side",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-adobe-stock-asset-api": "*",
"magento/module-adobe-stock-client-api": "*",
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockAssetApi/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-asset-api",
"description": "Magento module responsible for Adobe Stock assets handling on Magento side",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*"
},
"type": "magento2-module",
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockClient/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-client",
"description": "Magento module responsible for interaction with Adobe Stock API implementation",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-adobe-ims-api": "*",
"magento/module-adobe-stock-client-api": "*",
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockClientApi/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-client-api",
"description": "Magento module responsible for interaction with Adobe Stock API",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*"
},
"type": "magento2-module",
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockImage/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-image",
"description": "Magento module responsible for the images handling implementation",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-adobe-stock-client-api": "*",
"magento/module-adobe-stock-asset-api": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
<element name="deleteViewButton" type="button" selector="//div[@data-bind='afterRender: \$data.setToolbarNode']//input/following-sibling::div/button[@class='action-delete']"/>
<element name="incorrectSecretModalText" type="block" selector="//*[contains(@class, 'modal-popup')]//div[contains(text(), 'Login failed')]"/>
<element name="incorrectSecretModalButton" type="button" selector="//*[contains(@class, 'modal-popup')]//*[@class='modal-footer']/button//span[text()='Ok']"/>
<element name="selectAnImage" type="block" selector="//div[@class='masonry-image-column' and @data-repeat-index='{{index}}']" parameterized="true"/>
</section>
</sections>
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
<description value="Admin should be able to saves image preview "/>
<severity value="CRITICAL"/>
<group value="adobe_stock_integration"/>
<skip>
<issueId value="AC-5916">Skipped</issueId>
</skip>
</annotations>
<before>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
Expand All @@ -31,7 +28,10 @@
<after>
<actionGroup ref="AdminDeleteSelectedAdobeStockImagePreviewActionGroup" stepKey="removeSavedPreview"/>
</after>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/>
<conditionalClick selector="{{AdminAdobeStockImagePreviewSection.close}}" dependentSelector="{{AdminAdobeStockImagePreviewSection.close}}" visible="true" stepKey="expandImagePreview"/>
<waitForPageLoad stepKey="waitForImagePreviewToClose"/>
<click selector="{{AdminAdobeStockSection.selectAnImage('2')}}" stepKey="clickOnThumbnail"/>
<waitForPageLoad stepKey="waitForImagePreviewToExpand"/>
<actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="saveImagePreview"/>
<actionGroup ref="AssertAdminAdobeStockImageSavedActionGroup" stepKey="assertImageSaved"/>
</test>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
media gallery storage root but they can save under the category and wysiwyg directory"/>
<severity value="CRITICAL"/>
<group value="adobe_stock_media_gallery"/>
<skip>
<issueId value="AC-5916">Skipped</issueId>
</skip>
</annotations>

<before>
Expand All @@ -38,7 +35,10 @@
<actionGroup ref="AdminResetDataGridToDefaultViewActionGroup" stepKey="clearAdobeStockFilters">
<argument name="index" value="2"/>
</actionGroup>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/>
<conditionalClick selector="{{AdminAdobeStockImagePreviewSection.close}}" dependentSelector="{{AdminAdobeStockImagePreviewSection.close}}" visible="true" stepKey="expandImagePreview"/>
<waitForPageLoad stepKey="waitForImagePreviewToClose"/>
<click selector="{{AdminAdobeStockSection.selectAnImage('2')}}" stepKey="clickOnThumbnail"/>
<waitForPageLoad stepKey="waitForImagePreviewToExpand"/>
<actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="saveImagePreview"/>
<actionGroup ref="AdminSaveAdobeStockImagePreviewActionGroup" stepKey="confirmSaveImagePreview"/>
<waitForText userInput="Could not save image: destination directory is restricted." stepKey="waitForErrorMessage"/>
Expand All @@ -53,7 +53,10 @@
<actionGroup ref="AdminResetDataGridToDefaultViewActionGroup" stepKey="clearAdobeStockFilters2">
<argument name="index" value="2"/>
</actionGroup>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview2"/>
<conditionalClick selector="{{AdminAdobeStockImagePreviewSection.close}}" dependentSelector="{{AdminAdobeStockImagePreviewSection.close}}" visible="true" stepKey="expandImagePreview2"/>
<waitForPageLoad stepKey="waitForImagePreviewToClose1"/>
<click selector="{{AdminAdobeStockSection.selectAnImage('2')}}" stepKey="clickOnThumbnail1"/>
<waitForPageLoad stepKey="waitForImagePreviewToExpand1"/>
<grabTextFrom selector="{{AdminAdobeStockImagePreviewSection.imagePreviewTitle}}" stepKey="imageTitle"/>
<actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="saveImagePreview2"/>
<actionGroup ref="AdminSaveAdobeStockImagePreviewActionGroup" stepKey="confirmSaveImagePreview2"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
<description value="Admin should be able to saves image preview and see unlicensed label"/>
<severity value="CRITICAL"/>
<group value="adobe_stock_media_gallery"/>
<skip>
<issueId value="AC-5916">Skipped</issueId>
</skip>
</annotations>

<before>
Expand Down Expand Up @@ -53,7 +50,10 @@
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
</after>

<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/>
<conditionalClick selector="{{AdminAdobeStockImagePreviewSection.close}}" dependentSelector="{{AdminAdobeStockImagePreviewSection.close}}" visible="true" stepKey="expandImagePreview"/>
<waitForPageLoad stepKey="waitForImagePreviewToClose"/>
<click selector="{{AdminAdobeStockSection.selectAnImage('2')}}" stepKey="clickOnThumbnail"/>
<waitForPageLoad stepKey="waitForImagePreviewToExpand"/>
<actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="openTheSaveImagePreviewPopup"/>
<actionGroup ref="AdminSaveAdobeStockImagePreviewActionGroup" stepKey="saveImagePreview"/>
<actionGroup ref="AssertAdminAdobeStockImageUnlicensedLabelActionGroup" stepKey="assertUnlicensedLabel"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
<description value="Admin should be able to save image preview and clicks add selection button"/>
<severity value="CRITICAL"/>
<group value="adobe_stock_media_gallery"/>
<skip>
<issueId value="AC-5916">Skipped</issueId>
</skip>
</annotations>
<before>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
Expand Down Expand Up @@ -50,7 +47,10 @@
<comment userInput="BIC workaround" stepKey="removeSavedPreview"/>
<comment userInput="BIC workaround" stepKey="clearFilters"/>
</after>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandImagePreview"/>
<conditionalClick selector="{{AdminAdobeStockImagePreviewSection.close}}" dependentSelector="{{AdminAdobeStockImagePreviewSection.close}}" visible="true" stepKey="expandImagePreview"/>
<waitForPageLoad stepKey="waitForImagePreviewToClose"/>
<click selector="{{AdminAdobeStockSection.selectAnImage('2')}}" stepKey="clickOnThumbnail"/>
<waitForPageLoad stepKey="waitForImagePreviewToExpand"/>
<actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="saveImagePreview"/>
<actionGroup ref="AdminSaveAdobeStockImagePreviewActionGroup" stepKey="confirmSaveImagePreview"/>
<actionGroup ref="AdminMediaGalleryClickAddSelectedActionGroup" stepKey="addSelectedSavedPreview"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<description value="Admin is able to set the image name on saving the image preview"/>
<severity value="CRITICAL"/>
<group value="adobe_stock_integration"/>
<skip>
<issueId value="AC-5916">Skipped</issueId>
</skip>
</annotations>
<before>
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
Expand All @@ -31,7 +28,10 @@
<actionGroup ref="AdminOpenMediaGalleryFromPageNoEditorActionGroup" stepKey="openMediaGalleryForPage"/>
<actionGroup ref="AdminAdobeStockOpenPanelFromMediaGalleryActionGroup" stepKey="openAdobeStockPopup"/>
<actionGroup ref="ResetAdminDataGridToDefaultViewActionGroup" stepKey="resetAdminDataGridToDefaultView"/>
<actionGroup ref="AdminAdobeStockExpandImagePreviewActionGroup" stepKey="expandsFirstImageInGrid"/>
<conditionalClick selector="{{AdminAdobeStockImagePreviewSection.close}}" dependentSelector="{{AdminAdobeStockImagePreviewSection.close}}" visible="true" stepKey="expandsFirstImageInGrid"/>
<waitForPageLoad stepKey="waitForImagePreviewToClose"/>
<click selector="{{AdminAdobeStockSection.selectAnImage('2')}}" stepKey="clickOnThumbnail"/>
<waitForPageLoad stepKey="waitForImagePreviewToExpand"/>
<actionGroup ref="AdminAdobeStockSavePreviewActionGroup" stepKey="openTheSaveImagePreviewPopup"/>
<actionGroup ref="AdminSaveAdobeStockImagePreviewActionGroup" stepKey="saveImagePreview"/>
<actionGroup ref="AssertAdminImageIsVisibleInMediaGalleryActionGroup" stepKey="checkIfTheSavedImagesIsAvailable"/>
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockImageAdminUi/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-image-admin-ui",
"description": "Magento module responsible for the admin panel images UI implementation",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*",
"magento/module-adobe-ims": "*",
"magento/module-adobe-ims-api": "*",
Expand Down
2 changes: 1 addition & 1 deletion AdobeStockImageApi/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/module-adobe-stock-image-api",
"description": "Magento module responsible for the images handling",
"require": {
"php": "~7.4.0||~8.1.0",
"php": "~8.1.0||~8.2.0",
"magento/framework": "*"
},
"type": "magento2-module",
Expand Down

0 comments on commit 8f00fd3

Please sign in to comment.