diff --git a/awx/ui/src/components/AdHocCommands/AdHocCommands.js b/awx/ui/src/components/AdHocCommands/AdHocCommands.js index 2049962cd5..d37106285f 100644 --- a/awx/ui/src/components/AdHocCommands/AdHocCommands.js +++ b/awx/ui/src/components/AdHocCommands/AdHocCommands.js @@ -128,6 +128,7 @@ function AdHocCommands({ component="button" aria-label={t`Run Command`} onClick={() => setIsWizardOpen(true)} + ouiaId="run-command-dropdown-item" > {t`Run Command`} diff --git a/awx/ui/src/components/AdHocCommands/AdHocDetailsStep.js b/awx/ui/src/components/AdHocCommands/AdHocDetailsStep.js index 6760b58a83..d226b240ca 100644 --- a/awx/ui/src/components/AdHocCommands/AdHocDetailsStep.js +++ b/awx/ui/src/components/AdHocCommands/AdHocDetailsStep.js @@ -207,6 +207,7 @@ function AdHocDetailsStep({ verbosityOptions, moduleOptions }) { onChange={() => { diffModeHelpers.setValue(!diffModeField.value); }} + ouiaId="diff-mode-switch" aria-label={t`toggle changes`} /> @@ -236,6 +237,7 @@ function AdHocDetailsStep({ verbosityOptions, moduleOptions }) { } id="become_enabled" + ouiaId="become_enabled" isChecked={becomeEnabledField.value} onChange={(checked) => { becomeEnabledHelpers.setValue(checked); diff --git a/awx/ui/src/components/AddDropDownButton/AddDropDownButton.js b/awx/ui/src/components/AddDropDownButton/AddDropDownButton.js index 3342324f51..b240450bb7 100644 --- a/awx/ui/src/components/AddDropDownButton/AddDropDownButton.js +++ b/awx/ui/src/components/AddDropDownButton/AddDropDownButton.js @@ -42,6 +42,7 @@ function AddDropDownButton({ dropdownItems, ouiaId }) { /> } dropdownItems={dropdownItems} + ouiaId="add-dropdown" /> ); diff --git a/awx/ui/src/components/AddRole/CheckboxCard.js b/awx/ui/src/components/AddRole/CheckboxCard.js index 828df6a213..b055ee9309 100644 --- a/awx/ui/src/components/AddRole/CheckboxCard.js +++ b/awx/ui/src/components/AddRole/CheckboxCard.js @@ -26,6 +26,7 @@ function CheckboxCard(props) { onChange={onSelect} aria-label={name} id={`checkbox-card-${itemId}`} + ouiaId={`checkbox-card-${itemId}`} label={ <>
{name}
diff --git a/awx/ui/src/components/AlertModal/AlertModal.js b/awx/ui/src/components/AlertModal/AlertModal.js index 3d3c7394d3..df0afb87aa 100644 --- a/awx/ui/src/components/AlertModal/AlertModal.js +++ b/awx/ui/src/components/AlertModal/AlertModal.js @@ -77,6 +77,7 @@ function AlertModal({ isOpen={Boolean(isOpen)} variant="small" title={title} + ouiaId="alert-modal" {...props} > {children} diff --git a/awx/ui/src/components/AnsibleSelect/AnsibleSelect.js b/awx/ui/src/components/AnsibleSelect/AnsibleSelect.js index 8a1cb9ea2c..14e886c16b 100644 --- a/awx/ui/src/components/AnsibleSelect/AnsibleSelect.js +++ b/awx/ui/src/components/AnsibleSelect/AnsibleSelect.js @@ -31,6 +31,7 @@ function AnsibleSelect({ return ( +