V2Wizard: Add ouiaIds to File System step
this commit adds ouiaIds to the file system for automation and manual configurations and for text input field.
This commit is contained in:
parent
e5bfc19194
commit
9cddbdfa38
2 changed files with 5 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ const FileSystemConfiguration = () => {
|
|||
<FileSystemTable />
|
||||
<TextContent>
|
||||
<Button
|
||||
ouiaId="add-partition"
|
||||
ouiaId="add-partition-button"
|
||||
data-testid="file-system-add-partition"
|
||||
className="pf-u-text-align-left"
|
||||
variant="link"
|
||||
|
|
@ -248,7 +248,7 @@ export const Row = ({
|
|||
variant="link"
|
||||
icon={<MinusCircleIcon />}
|
||||
onClick={() => handleRemovePartition(partition.id)}
|
||||
data-testid="remove-mount-point"
|
||||
ouiaId="remove-mount-point"
|
||||
isDisabled={partition.mountpoint === '/'}
|
||||
/>
|
||||
</Td>
|
||||
|
|
@ -329,6 +329,7 @@ const MountpointSuffix = ({ partition }: MountpointSuffixPropTypes) => {
|
|||
);
|
||||
}}
|
||||
aria-label="text input example"
|
||||
ouiaId="mount-point-text-input"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ const FileSystemPartition = () => {
|
|||
<FormGroup>
|
||||
<Radio
|
||||
id="automatic file system config radio"
|
||||
ouiaId="automatic-configure-fsc-radio"
|
||||
label={
|
||||
<>
|
||||
<Label isCompact color="blue">
|
||||
|
|
@ -37,6 +38,7 @@ const FileSystemPartition = () => {
|
|||
/>
|
||||
<Radio
|
||||
id="manual file system config radio"
|
||||
ouiaId="manual-configure-fsc-radio"
|
||||
label="Manually configure partitions"
|
||||
name="fsc-radio-manual"
|
||||
description="Manually configure the file system of your image by adding, removing, and editing partitions"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue