webpack/components/AnsibleHostDetail/components/AnsibleVariableOverrides/EditableAction.js in foreman_ansible-9.0.1 vs webpack/components/AnsibleHostDetail/components/AnsibleVariableOverrides/EditableAction.js in foreman_ansible-10.0.0
- old
+ new
@@ -109,18 +109,20 @@
<Button
variant="plain"
onClick={onClose}
isDisabled={state.working}
aria-label="Cancel editing override button"
+ ouiaId="cancel-editing-override-button"
>
<TimesIcon />
</Button>
<Button
variant="plain"
onClick={onSubmit}
isDisabled={state.working || hasError(state)}
aria-label="Submit editing override button"
+ ouiaId="submit-editing-override-button"
>
<CheckIcon />
</Button>
<span className={!state.working ? 'hideElement' : ''}>
<Spinner size="md" />
@@ -134,9 +136,10 @@
>
<Button
onClick={onOpen}
variant="plain"
aria-label="Edit override button"
+ ouiaId="edit-override-button"
>
<PencilAltIcon />
</Button>
</div>
</div>