webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobModal.js in foreman_ansible-9.0.1 vs webpack/components/AnsibleHostDetail/components/JobsTab/NewRecurringJobModal.js in foreman_ansible-10.0.0
- old
+ new
@@ -55,19 +55,21 @@
>
{formProps => {
const actions = [
<Button
aria-label="submit creating job"
+ ouiaId="submit-creating-job"
key="confirm"
variant="primary"
onClick={formProps.handleSubmit}
isDisabled={formProps.isSubmitting || !formProps.isValid}
>
{__('Submit')}
</Button>,
<Button
aria-label="cancel creating job"
+ ouiaId="cancel-creating-job"
key="cancel"
variant="link"
onClick={onClose}
isDisabled={formProps.isSubmitting}
>
@@ -81,9 +83,10 @@
return (
<Modal
variant={ModalVariant.large}
title="Create New Recurring Ansible Run"
+ ouiaId="modal-recurring-ansible-run"
isOpen={props.isOpen}
className="foreman-modal modal-high"
showClose={false}
actions={actions}
disableFocusTrap