Skip to content

Commit 474b6e8

Browse files
committed
MC-19048: [Test Failed]: Magento\FunctionalTestingFramework.functional.CartPriceRuleForConfigurableProductTest
1 parent 778b54c commit 474b6e8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/CartPriceRuleForConfigurableProductTest.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
<requiredEntity createDataKey="createConfigChildProduct2"/>
7070
</createData>
7171

72+
<!--Login to Admin-->
73+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
74+
75+
<actionGroup ref="deleteAllCartPriceRule" stepKey="deleteAllCartPriceRules"/>
76+
7277
<!--Create cart price rule-->
7378
<createData entity="SaleRule50PercentDiscountNoCoupon" stepKey="createCartPriceRule">
7479
<field key="discount_amount">70</field>
@@ -78,9 +83,6 @@
7883
<requiredEntity createDataKey="createCartPriceRule"/>
7984
</createData>
8085

81-
<!--Login to Admin-->
82-
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
83-
8486
<!--Set attribute sku property Use for Promo Rule Conditions = Yes and save attribute-->
8587
<actionGroup ref="navigateToProductAttribute" stepKey="goToProductAttributeSkuPage">
8688
<argument name="attributeCode" value="sku"/>

0 commit comments

Comments
 (0)