Skip to content

Commit af8e666

Browse files
author
Prabhu Ram
committed
MC-24172: Fix Skipped MFTF Tests From MC-17140: MC-14770, MC-14771, MC-14772
- add sorting to fix product ordering
1 parent 189dc56 commit af8e666

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/CatalogRule/Test/Mftf/Test/ApplyCatalogRuleForSimpleAndConfigurableProductTest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@
114114
<!-- Navigate to category on store front -->
115115
<amOnPage url="{{StorefrontProductPage.url($createCategory.name$)}}" stepKey="goToCategoryPage"/>
116116

117+
<!-- Sort products By Price -->
118+
<actionGroup ref="StorefrontCategoryPageSortProductActionGroup" stepKey="sortProductByPrice"/>
119+
<!-- Set Ascending Direction -->
120+
<actionGroup ref="StorefrontCategoryPageSortAscendingActionGroup" stepKey="setAscendingDirection"/>
121+
117122
<!-- Check simple product name on store front category page -->
118123
<actionGroup ref="AssertProductDetailsOnStorefrontActionGroup" stepKey="storefrontProduct1Name">
119124
<argument name="productInfo" value="$createSimpleProduct.name$"/>

0 commit comments

Comments
 (0)