Skip to content

Commit 01322f4

Browse files
committed
MQE-1384: Deliver weekly MTF to MFTF conversion
- Use amOnPage instead of interacting with the navbar in AdminDeleteCartPriceRuleForRetailerActionGroup
1 parent ecbfe37 commit 01322f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626

2727
<!--Delete Cart price Rule for Retailer customer-->
2828
<actionGroup name="AdminDeleteCartPriceRuleForRetailerActionGroup">
29-
<click selector="{{AdminMenuSection.marketing}}" stepKey="clickOnMarketing" />
30-
<waitForPageLoad stepKey="waitForMarketing"/>
31-
<click selector="{{CartPriceRulesSubmenuSection.cartPriceRules}}" stepKey="clickOnCartPriceRules"/>
29+
<amOnPage url="{{AdminCartPriceRulesPage.url}}" stepKey="goToCartPriceRules"/>
3230
<waitForPageLoad stepKey="waitForCartPriceRules"/>
3331
<fillField selector="{{AdminCartPriceRulesSection.filterByNameInput}}" userInput="{{SimpleSalesRule.name}}" stepKey="filterByName"/>
3432
<click selector="{{AdminCartPriceRulesSection.searchButton}}" stepKey="doFilter"/>

0 commit comments

Comments
 (0)