mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 13:25:02 -02:30
Adds ouia id's to typeahead select components
This commit is contained in:
@@ -148,6 +148,7 @@ function CredentialFormFields({ i18n, credentialTypes }) {
|
|||||||
label={i18n._(t`Credential Type`)}
|
label={i18n._(t`Credential Type`)}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
ouiaId="CredentialForm-credential_type"
|
||||||
aria-label={i18n._(t`Credential Type`)}
|
aria-label={i18n._(t`Credential Type`)}
|
||||||
isOpen={isSelectOpen}
|
isOpen={isSelectOpen}
|
||||||
variant={SelectVariant.typeahead}
|
variant={SelectVariant.typeahead}
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ function BecomeMethodField({ fieldOptions, isRequired }) {
|
|||||||
validated={!(meta.touched && meta.error) ? 'default' : 'error'}
|
validated={!(meta.touched && meta.error) ? 'default' : 'error'}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
ouiaId={`CredentialForm-${fieldOptions.id}`}
|
||||||
maxHeight={200}
|
maxHeight={200}
|
||||||
variant={SelectVariant.typeahead}
|
variant={SelectVariant.typeahead}
|
||||||
onToggle={setIsOpen}
|
onToggle={setIsOpen}
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ const SCMSubForm = ({ autoPopulateProject, i18n }) => {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
ouiaId="InventorySourceForm-source_path"
|
||||||
variant={SelectVariant.typeahead}
|
variant={SelectVariant.typeahead}
|
||||||
onToggle={setIsOpen}
|
onToggle={setIsOpen}
|
||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ function PlaybookSelect({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Select
|
<Select
|
||||||
|
ouiaId="JobTemplateForm-playbook"
|
||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
variant={SelectVariant.typeahead}
|
variant={SelectVariant.typeahead}
|
||||||
selections={selected}
|
selections={selected}
|
||||||
|
|||||||
Reference in New Issue
Block a user