Skip to content

Commit 1814e32

Browse files
committed
MC-20075: Fix Skipped MFTF Tests From MC-17140: MC-14536, MC-14538, MC-14720
1 parent 3836976 commit 1814e32

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/AssertStorefrontMiniCartItemsActionGroup.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
<argument name="qty" type="string"/>
2020
</arguments>
2121

22-
<see selector="{{StorefrontMinicartSection.miniCartItemsText}}" userInput="{{productName}}" stepKey="seeProductNameInMiniCart"/>
23-
<see selector="{{StorefrontMinicartSection.miniCartItemsText}}" userInput="{{productPrice}}" stepKey="seeProductPriceInMiniCart"/>
22+
<see selector="{{StorefrontMinicartSection.productPriceByName(productName)}}" userInput="{{productPrice}}" stepKey="seeProductPriceInMiniCart"/>
2423
<seeElement selector="{{StorefrontMinicartSection.goToCheckout}}" stepKey="seeCheckOutButtonInMiniCart"/>
2524
<seeElement selector="{{StorefrontMinicartSection.productQuantity(productName, qty)}}" stepKey="seeProductQuantity1"/>
2625
<seeElement selector="{{StorefrontMinicartSection.productImage}}" stepKey="seeProductImage"/>
@@ -37,7 +36,6 @@
3736
<argument name="productPrice" type="string"/>
3837
</arguments>
3938

40-
<dontSee selector="{{StorefrontMinicartSection.miniCartItemsText}}" userInput="{{productName}}" stepKey="dontSeeProductNameInMiniCart"/>
41-
<dontSee selector="{{StorefrontMinicartSection.miniCartItemsText}}" userInput="{{productPrice}}" stepKey="dontSeeProductPriceInMiniCart"/>
39+
<dontSee selector="{{StorefrontMinicartSection.productPriceByName(productName)}}" userInput="{{productPrice}}" stepKey="dontSeeProductPriceInMiniCart"/>
4240
</actionGroup>
4341
</actionGroups>

app/code/Magento/SalesRule/Test/Mftf/ActionGroup/AdminDeleteCartPriceRuleActionGroup.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@
1515
<arguments>
1616
<argument name="ruleName" type="entity"/>
1717
</arguments>
18-
18+
1919
<amOnPage url="{{AdminCartPriceRulesPage.url}}" stepKey="goToCartPriceRules"/>
2020
<waitForPageLoad stepKey="waitForCartPriceRules"/>
21+
<click selector="{{AdminCartPriceRulesFormSection.resetSearchFilter}}" stepKey="resetFilterBeforeDelete"/>
22+
<waitForPageLoad stepKey="waitForCartPriceRulesResetFilter"/>
2123
<fillField selector="{{AdminCartPriceRulesSection.filterByNameInput}}" userInput="{{ruleName.name}}" stepKey="filterByName"/>
2224
<click selector="{{AdminCartPriceRulesSection.searchButton}}" stepKey="doFilter"/>
2325
<click selector="{{AdminCartPriceRulesSection.rowByIndex('1')}}" stepKey="goToEditRulePage"/>
2426
<click selector="{{AdminCartPriceRulesFormSection.delete}}" stepKey="clickDeleteButton"/>
2527
<click selector="{{AdminCartPriceRulesFormSection.modalAcceptButton}}" stepKey="confirmDelete"/>
28+
<click selector="{{AdminCartPriceRulesFormSection.resetSearchFilter}}" stepKey="resetFilterAfterDelete"/>
29+
<waitForPageLoad stepKey="waitForCartPriceRulesAfterDelete"/>
2630
</actionGroup>
2731
</actionGroups>

0 commit comments

Comments
 (0)