Skip to content

Commit b1f8810

Browse files
shashikant.kumarshashikant.kumar
authored andcommitted
added element discountAmountError in AdminCartPriceRulesFormSection
1 parent 17d564a commit b1f8810

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/SalesRule/Test/Mftf/Section/AdminCartPriceRulesFormSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
<element name="applyDiscountToShipping" type="checkbox" selector="input[name='apply_to_shipping']"/>
8585
<element name="applyDiscountToShippingLabel" type="checkbox" selector="input[name='apply_to_shipping']+label"/>
8686
<element name="discountAmount" type="input" selector="input[name='discount_amount']"/>
87+
<element name="discountAmountError" type="text" selector="//label[@class='admin__field-error' and text()='Please enter a number 0 or greater,without comma in this field.']"/>
8788
<element name="maximumQtyDiscount" type="input" selector="input[name='discount_qty']"/>
8889
<element name="discountStep" type="input" selector="input[name='discount_step']"/>
8990
<element name="applyToShippingAmount" type="checkbox" selector="//div[@class='admin__actions-switch']/input[@name='apply_to_shipping']/../label"/>

0 commit comments

Comments
 (0)