File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
app/code/Magento/SalesRule/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
- <test name =" AdminBlockCouponGenerateUntilRuleIsSavedWithAutoOptionTest " >
11
+ <test name =" AdminBlockCouponGenerateUntilRuleIsSavedWithAutoGenerateTickedTest " >
12
12
<annotations >
13
13
<features value =" SalesRule" />
14
14
<stories value =" Create cart price rule" />
40
40
<click selector =" {{AdminCartPriceRulesSection.rowContainingText($$createSalesRule.name$$)}}"
41
41
stepKey =" goToEditRule" />
42
42
43
- <!-- Choose coupon type auto and generate coupon without saving the rule -->
44
- <selectOption selector =" {{AdminCartPriceRulesFormSection.coupon}}" userInput =" Auto" stepKey =" selectCouponType" />
43
+ <!-- Choose coupon type specific coupon and tick auto generation checkbox -->
44
+ <selectOption selector =" {{AdminCartPriceRulesFormSection.coupon}}" userInput =" Specific Coupon" stepKey =" selectCouponType" />
45
+ <checkOption selector =" {{AdminCartPriceRulesFormSection.useAutoGeneration}}" stepKey =" tickAutoGeneration" />
46
+
47
+ <!-- Navigate to Manage Coupon Codes section to generate 1 coupon code -->
45
48
<conditionalClick selector =" {{AdminCartPriceRulesFormSection.manageCouponCodesHeader}}"
46
49
dependentSelector =" {{AdminCartPriceRulesFormSection.manageCouponCodesHeader}}" visible =" true"
47
50
stepKey =" clickManageCouponCodes" />
You can’t perform that action at this time.
0 commit comments