Add test ids
This commit is contained in:
parent
75eefa8a08
commit
a2b9d9d31f
2 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,7 @@ const AddressEdit: React.FC<AddressEditProps> = props => {
|
||||||
<div>
|
<div>
|
||||||
<SingleAutocompleteSelectField
|
<SingleAutocompleteSelectField
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
data-test-id="address-edit-country-select-field"
|
||||||
displayValue={countryDisplayValue}
|
displayValue={countryDisplayValue}
|
||||||
error={!!formErrors.country}
|
error={!!formErrors.country}
|
||||||
helperText={getErrorMessage(formErrors.country, intl)}
|
helperText={getErrorMessage(formErrors.country, intl)}
|
||||||
|
|
|
@ -108,6 +108,7 @@ const OrderAddressEditDialog: React.FC<OrderAddressEditDialogProps> = props => {
|
||||||
<FormattedMessage {...buttonMessages.back} />
|
<FormattedMessage {...buttonMessages.back} />
|
||||||
</Button>
|
</Button>
|
||||||
<ConfirmButton
|
<ConfirmButton
|
||||||
|
data-test-id="order-address-edit-dialog-confirm-button"
|
||||||
transitionState={confirmButtonState}
|
transitionState={confirmButtonState}
|
||||||
color="primary"
|
color="primary"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
|
Loading…
Reference in a new issue