webpack/components/AnsibleHostDetail/components/RolesTab/EditRolesModal/EditRolesForm.js in foreman_ansible-9.0.1 vs webpack/components/AnsibleHostDetail/components/RolesTab/EditRolesModal/EditRolesForm.js in foreman_ansible-10.0.0

- old
+ new

@@ -52,10 +52,11 @@ key="confirm" variant="primary" onClick={() => callMutation({ variables })} isDisabled={loading || didNotModifyOptions()} aria-label="submit ansible roles" + ouiaId="submit-ansible-roles-button" > {__('Confirm')} </Button>, ...actions, ]; @@ -63,10 +64,10 @@ if (loading) { formActions.push(<Spinner key="spinner" size="lg" />); } return ( - <Modal {...baseModalProps} actions={formActions}> + <Modal ouiaId="modal-edit-roles" {...baseModalProps} actions={formActions}> <DualList availableOptions={availableOptions} chosenOptions={chosenOptions} onListChange={onListChange} />