Wizard: Move ouiaId from Select component to MenuToggle
This moves the `ouiaId` since it didn't get correctly assigned while in `Select`. It's readable under the `MenuToggle`.
This commit is contained in:
parent
53625ed190
commit
52398547f8
4 changed files with 5 additions and 5 deletions
|
|
@ -46,6 +46,7 @@ export const AzureHyperVSelect = () => {
|
|||
|
||||
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
||||
<MenuToggle
|
||||
ouiaId="hyperv_gen_select"
|
||||
ref={toggleRef}
|
||||
data-testid="azure-hyper-v-generation-select"
|
||||
onClick={() => setIsOpen(!isOpen)}
|
||||
|
|
@ -60,7 +61,6 @@ export const AzureHyperVSelect = () => {
|
|||
<>
|
||||
<FormGroup isRequired label="HyperV Generation">
|
||||
<Select
|
||||
ouiaId="hyperv_gen_select"
|
||||
isScrollable
|
||||
isOpen={isOpen}
|
||||
selected={hyperVGeneration === 'V1' ? 'Generation 1' : 'Generation 2'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue