Skip to content

add action group for AdminAdobeStockInsertRenditionImageFromGalleryFileSizeTest #30074

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

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminRenditionsSetImageSizeActionGroup">
<arguments>
<argument name="width" defaultValue="1000" type="string"/>
<argument name="height" defaultValue="1000" type="string"/>
</arguments>
<magentoCLI command="config:set system/media_gallery_renditions/width {{width}}" stepKey="setWidth"/>
<magentoCLI command="config:set system/media_gallery_renditions/height {{height}}" stepKey="setHeight"/>
<magentoCLI command="cache:flush config" stepKey="cleanCache"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe clean cache is not needed for changing renditions size

</actionGroup>
</actionGroups>