File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
app/code/Magento/SalesRule/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
+ <test name =" AdminCreateBuyXGetYFreeWithApplyShippingAmountTest" extends =" AdminCreateBuyXGetYFreeTest" >
12
+ <annotations >
13
+ <title value =" Admin should be able to create a cart price rule of type Buy X get Y free enable 'Apply to Shipping Amount' " />
14
+ <description value =" Use cart price rule of type Buy X get Y free with enable 'Apply to Shipping Amount'" />
15
+ <group value =" SalesRule" />
16
+ </annotations >
17
+
18
+ <remove keyForRemoval =" verifyStorefront" />
19
+ <click selector =" {{AdminCartPriceRulesFormSection.applyDiscountToShippingLabel}}" stepKey =" enabledApplyDiscountToShipping" after =" fillDiscountStep" />
20
+ <actionGroup ref =" VerifyDiscountAmountActionGroup" stepKey =" verifyStorefrontDiscount" after =" fillProductFieldsInAdmin" >
21
+ <argument name =" productUrl" value =" {{_defaultProduct.urlKey}}.html" />
22
+ <argument name =" quantity" value =" 2" />
23
+ <argument name =" expectedDiscount" value =" -$128.00" />
24
+ </actionGroup >
25
+ </test >
26
+ </tests >
You can’t perform that action at this time.
0 commit comments