Skip to content

Commit 3411412

Browse files
MC-39756: An image added to the Content via Page Builder is not counted in "Used In" counter.
1 parent 9ed7318 commit 3411412

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
<suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Suite/etc/suiteSchema.xsd">
9+
<suite name="PageBuilderNewMediaGalleryRenditionsSuite">
10+
<before>
11+
<actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="disableWYSIWYG" />
12+
<magentoCLI command="config:set {{MediaGalleryConfigDataEnabled.path}} {{MediaGalleryConfigDataEnabled.value}}" stepKey="enableEnhancedMediaGallery"/>
13+
<magentoCLI command="config:set {{MediaGalleryRenditionsDataEnabled.path}} {{MediaGalleryRenditionsDataEnabled.value}}" stepKey="enableMediaGalleryRenditions"/>
14+
</before>
15+
<after>
16+
<magentoCLI command="config:set {{MediaGalleryRenditionsDataDisabled.path}} {{MediaGalleryRenditionsDataDisabled.value}}" stepKey="disableMediaGalleryRenditions"/>
17+
<magentoCLI command="config:set {{MediaGalleryConfigDataDisabled.path}} {{MediaGalleryConfigDataDisabled.value}}" stepKey="disableEnhancedMediaGallery"/>
18+
<actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="enableWYSIWYG" />
19+
</after>
20+
<include>
21+
<group name="page_builder_new_media_gallery_renditions"/>
22+
</include>
23+
</suite>
24+
</suites>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCMSPagePageBuilderTest/PageBuilderCMSPageCreateCMSPageWithImageTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
<title value="Create CMS Page with Image"/>
1515
<description value="Create CMS Page with Image and verify Page is counted in Image 'used in' section"/>
1616
<severity value="MAJOR"/>
17-
<group value="pagebuilder"/>
18-
<group value="pagebuilder-cms-page"/>
17+
<group value="page_builder_new_media_gallery_renditions"/>
1918
</annotations>
2019
<before>
2120
<createData entity="_defaultCmsPage" stepKey="createCMSPage"/>

0 commit comments

Comments
 (0)