Skip to content

Commit 70fa0d6

Browse files
ACQE-9003: Image is taken from configurable product if images are not specified with the selected swatches
- Removed reindexing code in after block, added suffix for configurable SKU
1 parent 47c30fd commit 70fa0d6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontVerifyConfigurableProductImageFallbackWithSwatchesTest.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
<deleteData createDataKey="createVisualSwatchAttribute" stepKey="deleteVisualSwatchAttribute"/>
3535
<deleteData createDataKey="createTextSwatchAttr1" stepKey="deleteTextSwatchAttribute1"/>
3636
<deleteData createDataKey="createTextSwatchAttr2" stepKey="deleteTextSwatchAttribute2"/>
37-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexAfterAttributeDeletion">
38-
<argument name="indices" value=""/>
39-
</actionGroup>
4037
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>
4138
</after>
4239
<!-- Step 1a: Create visual swatch attribute with options A, B, C -->
@@ -76,7 +73,7 @@
7673
<createData entity="ApiConfigurableProduct" stepKey="createConfigurableProduct">
7774
<requiredEntity createDataKey="createCategory"/>
7875
<field key="name">TestConfigurableProduct</field>
79-
<field key="sku">test-config-swatch-image</field>
76+
<field key="sku" unique="suffix">test-config-swatch-image</field>
8077
<field key="price">100</field>
8178
</createData>
8279
<actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="openConfigurableProductEditPage">

0 commit comments

Comments
 (0)