File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 50
50
<fillField selector =" {{AdminCartPriceRulesFormSection.ruleName}}" userInput =" {{ApiSalesRule.name}}" stepKey =" fillRuleName" />
51
51
<selectOption selector =" {{AdminCartPriceRulesFormSection.websites}}" userInput =" Main Website" stepKey =" selectWebsite" />
52
52
<actionGroup ref =" selectNotLoggedInCustomerGroup" stepKey =" chooseNotLoggedInCustomerGroup" />
53
+ <generateDate date =" -1 day" format =" m/d/Y" stepKey =" yesterdayDate" />
54
+ <fillField selector =" {{AdminCartPriceRulesFormSection.fromDate}}" userInput =" {$yesterdayDate}" stepKey =" fillFromDate" />
53
55
<selectOption selector =" {{AdminCartPriceRulesFormSection.coupon}}" userInput =" Specific Coupon" stepKey =" selectCouponType" />
54
56
<fillField selector =" {{AdminCartPriceRulesFormSection.couponCode}}" userInput =" {{_defaultCoupon.code}}" stepKey =" fillCouponCode" />
55
57
<fillField selector =" {{AdminCartPriceRulesFormSection.userPerCoupon}}" userInput =" 99" stepKey =" fillUserPerCoupon" />
Original file line number Diff line number Diff line change 45
45
<fillField selector =" {{AdminCartPriceRulesFormSection.ruleName}}" userInput =" {{ApiSalesRule.name}}" stepKey =" fillRuleName" />
46
46
<selectOption selector =" {{AdminCartPriceRulesFormSection.websites}}" userInput =" Main Website" stepKey =" selectWebsite" />
47
47
<actionGroup ref =" selectNotLoggedInCustomerGroup" stepKey =" chooseNotLoggedInCustomerGroup" />
48
+ <generateDate date =" -1 day" format =" m/d/Y" stepKey =" yesterdayDate" />
49
+ <fillField selector =" {{AdminCartPriceRulesFormSection.fromDate}}" userInput =" {$yesterdayDate}" stepKey =" fillFromDate" />
48
50
49
51
<!-- Open the Actions Tab in the Rules Edit page -->
50
52
<click selector =" {{AdminCartPriceRulesFormSection.actionsHeader}}" stepKey =" clickToExpandActions" />
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Page /etc/SectionObject .xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test /etc/testSchema .xsd" >
11
11
<test name =" CartPriceRuleForConfigurableProductTest" >
12
12
<annotations >
13
13
<features value =" SalesRule" />
96
96
<fillField selector =" {{AdminCartPriceRulesFormSection.ruleName}}" userInput =" {{SimpleSalesRule.name}}" stepKey =" fillRuleName" />
97
97
<selectOption selector =" {{AdminCartPriceRulesFormSection.websites}}" userInput =" Main Website" stepKey =" selectWebsites" />
98
98
<actionGroup ref =" selectNotLoggedInCustomerGroup" stepKey =" selectNotLoggedInCustomerGroup" />
99
+ <generateDate date =" -1 day" format =" m/d/Y" stepKey =" yesterdayDate" />
100
+ <fillField selector =" {{AdminCartPriceRulesFormSection.fromDate}}" userInput =" {$yesterdayDate}" stepKey =" fillFromDate" />
99
101
<selectOption selector =" {{AdminCartPriceRulesFormSection.coupon}}" userInput =" Specific Coupon" stepKey =" selectCouponType" />
100
102
<fillField selector =" {{AdminCartPriceRulesFormSection.couponCode}}" userInput =" ABCD" stepKey =" fillCouponCOde" />
101
103
<click selector =" {{AdminCartPriceRulesFormSection.actionsHeader}}" stepKey =" clickToExpandActions" />
You can’t perform that action at this time.
0 commit comments