
* add update data test ids * fix not changed test ids * fix data-test-id for gift cards * remove comment * fix base url
18 lines
823 B
JavaScript
18 lines
823 B
JavaScript
export const GIFT_CARD_DIALOG = {
|
|
amountInput: '[name="balanceAmount"]',
|
|
currencySelectButton: '[id="mui-component-select-balanceCurrency"]',
|
|
currenciesOptions: '[data-test-id*="select-field-option"]',
|
|
expirationOptions: {
|
|
setExpiryDateCheckbox: '[name="expirySelected"]',
|
|
neverExpireRadioButton: '[value="NEVER_EXPIRE"]',
|
|
expiryPeriodRadioButton: '[value="EXPIRY_PERIOD"]',
|
|
expiryDateRadioButton: '[value="EXPIRY_DATE"]',
|
|
expiryPeriodAmount: '[name="expiryPeriodAmount"]',
|
|
expiryPeriodTypeButton: '[id*="select-expiryPeriodType"]',
|
|
expiryPeriodMonthType: '[data-test-id="select-field-option-MONTH"]',
|
|
expiryDateInput: '[name="expiryDate"]'
|
|
},
|
|
noteInput: '[name="note"]',
|
|
cardCodeText: '[data-test-id="card-code"]',
|
|
tagInput: '[data-test-id="gift-card-tag-select-field"]'
|
|
};
|