2021-03-23 10:15:39 +00:00
|
|
|
export const VOUCHERS_SELECTORS = {
|
|
|
|
createVoucherButton: "[data-test-id='create-voucher']",
|
|
|
|
voucherCodeInput: "[name='code']",
|
|
|
|
discountRadioButtons: "[name='discountType']",
|
2021-05-06 11:43:26 +00:00
|
|
|
percentageDiscountRadioButton:
|
|
|
|
"[name='discountType'][value='VALUE_PERCENTAGE']",
|
|
|
|
fixedDiscountRadioButton: "[name='discountType'][value='VALUE_FIXED']",
|
2021-03-23 10:15:39 +00:00
|
|
|
shippingDiscountRadioButton: "[name='discountType'][value='SHIPPING']",
|
|
|
|
discountValueInputs: "[name='value']"
|
|
|
|
};
|