Skip to content

Commit abdb8fe

Browse files
committed
ACP2E-690: Discount code Times Used is being counted twice
1 parent 707da04 commit abdb8fe

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
@@ -104,6 +104,7 @@
104104
<element name="couponQty" type="input" selector="#coupons_qty"/>
105105
<element name="generateCouponsButton" type="button" selector="#coupons_generate_button" timeout="30"/>
106106
<element name="generatedCouponByIndex" type="text" selector="#couponCodesGrid_table > tbody > tr:nth-child({{var}}) > td.col-code" parameterized="true"/>
107+
<element name="generatedCouponTimesUsed" type="text" selector="#couponCodesGrid_table > tbody > tr:nth-child({{var}}) > td.col-times_used" parameterized="true"/>
107108
<element name="couponGridUsedHeader" type="text" selector="#couponCodesGrid thead th[data-sort='used']"/>
108109
<element name="fieldError" type="text" selector="//input[@name='{{fieldName}}']/following-sibling::label[@class='admin__field-error']" parameterized="true"/>
109110
<element name="modalMessage" type="text" selector="aside.modal-popup div.modal-content div"/>

0 commit comments

Comments
 (0)