9 lines
443 B
JavaScript
9 lines
443 B
JavaScript
export const VOUCHERS_SELECTORS = {
|
|
createVoucherButton: "[data-test-id='create-voucher']",
|
|
voucherCodeInput: "[name='code']",
|
|
discountRadioButtons: "[name='discountType']",
|
|
percentageDiscountRadioButton: "[name='discountType'][value='PERCENTAGE']",
|
|
fixedDiscountRadioButton: "[name='discountType'][value='FIXED']",
|
|
shippingDiscountRadioButton: "[name='discountType'][value='SHIPPING']",
|
|
discountValueInputs: "[name='value']"
|
|
};
|