Skip to content

Commit 48e3dd6

Browse files
committed
MC-15250: Explicit product sorting in PageBuilder Products Content type
1 parent 276a9ab commit 48e3dd6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Data/CatalogProductData.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<entity name="EditWithPageBuilderButton" type="pagebuilder_button">
1212
<data key="value">Edit with Page Builder</data>
1313
</entity>
14+
<!-- consider moving to CE -->
1415
<entity name="SortProduct1" type="product">
1516
<data key="sku" unique="suffix">sortProduct1</data>
1617
<data key="type_id">simple</data>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderProductsTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,7 @@
16571657
<testCaseId value="MC-18771"/>
16581658
<group value="pagebuilder"/>
16591659
<group value="pagebuilder-products"/>
1660+
<group value="DM"/>
16601661
</annotations>
16611662
<before>
16621663
<createData entity="PageBuilderProductsSubCategory" stepKey="createPreReqCategory"/>
@@ -1691,6 +1692,9 @@
16911692
<actionGroup ref="addConditionToProductConditions" stepKey="addCategory">
16921693
<argument name="conditionInput" value="$$createPreReqCategory.id$$"/>
16931694
</actionGroup>
1695+
<actionGroup ref="selectSlideOutPanelFieldGeneral" stepKey="enterDefaultSortBy">
1696+
<argument name="property" value="PageBuilderProductsSortByNewestTop"/>
1697+
</actionGroup>
16941698
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
16951699
<!-- Validate stage -->
16961700
<comment userInput="Validate stage" stepKey="commentValidateStage"/>

0 commit comments

Comments
 (0)