File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
app/code/Magento/SalesRule/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 16
16
<severity value =" MAJOR" />
17
17
<group value =" SalesRule" />
18
18
</annotations >
19
+
19
20
<before >
20
21
<!-- Login to admin panel -->
21
22
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
36
37
<fillField selector =" {{AdminCartPriceRulesFormSection.ruleName}}" userInput =" {{CartPriceRuleConditionAndFreeShippingApplied.name}}" stepKey =" fillRuleName" />
37
38
<fillField selector =" {{AdminCartPriceRulesFormSection.description}}" userInput =" {{CartPriceRuleConditionAndFreeShippingApplied.description}}" stepKey =" fillDescription" />
38
39
<selectOption selector =" {{AdminCartPriceRulesFormSection.websites}}" userInput =" {{CartPriceRuleConditionAndFreeShippingApplied.websites}}" stepKey =" selectWebsites" />
39
-
40
- <click selector =" {{AdminCartPriceRulesFormSection.customerGroups}}" stepKey =" expandCustomerGroups" after =" selectWebsites" />
41
- <click selector =" {{AdminCartPriceRulesFormSection.customerGroupsSelectAll}}" stepKey =" clickSelectAll" after =" expandCustomerGroups" />
42
- <click selector =" {{AdminCartPriceRulesFormSection.customerGroupsDoneBtn}}" stepKey =" clickDone" after =" clickSelectAll" />
43
-
40
+ <selectOption selector =" {{AdminCartPriceRulesFormSection.customerGroups}}" userInput =" NOT LOGGED IN" stepKey =" selectCustomerGroup" />
44
41
<selectOption selector =" {{AdminCartPriceRulesFormSection.coupon}}" userInput =" {{CartPriceRuleConditionAndFreeShippingApplied.coupon_type}}" stepKey =" selectCouponType" />
45
42
<scrollTo selector =" {{AdminCartPriceRulesFormSection.actionsHeader}}" stepKey =" scrollToActionsHeader" />
46
43
<actionGroup ref =" AdminCreateCartPriceRuleActionsSectionDiscountFieldsActionGroup" stepKey =" createActiveCartPriceRuleActionsSection" >
60
57
<conditionalClick selector =" {{AdminCartPriceRulesFormSection.actionsHeader}}" dependentSelector =" {{AdminCartPriceRulesFormSection.actionsHeader}}" visible =" true" stepKey =" clickExpandActions" />
61
58
<see selector =" {{AdminCartPriceRulesFormSection.apply}}" userInput =" {{CartPriceRuleConditionAndFreeShippingApplied.simple_action}}" stepKey =" seeActionApplyType" />
62
59
<seeInField selector =" {{AdminCartPriceRulesFormSection.discountAmount}}" userInput =" {{CartPriceRuleConditionAndFreeShippingApplied.discount_amount}}" stepKey =" seeDiscountAmount" />
63
- <selectOption selector =" {{AdminCartPriceRulesFormSection.freeShipping}}" userInput =" Please Select" stepKey =" selectFreeShippingType" />
60
+ <seeOptionIsSelected selector =" {{AdminCartPriceRulesFormSection.freeShipping}}" userInput =" Please Select" stepKey =" selectFreeShippingType" />
64
61
</test >
65
62
</tests >
63
+
You can’t perform that action at this time.
0 commit comments