Adding some ouiaId for File system customization

This commit is contained in:
Jakub Rusz 2023-08-11 13:25:43 +02:00 committed by Lucas Garfield
parent 1e37a6ece9
commit 4fe1242c49
3 changed files with 5 additions and 0 deletions

View file

@ -398,6 +398,7 @@ const FileSystemConfiguration = ({ ...props }) => {
</TableComposable>
<TextContent>
<Button
ouiaId="add-partition"
data-testid="file-system-add-partition"
className="pf-u-text-align-left"
variant="link"

View file

@ -64,6 +64,7 @@ const MountPoint = ({ ...props }) => {
return (
<>
<Select
ouiaId="mount-point"
className="pf-u-w-50"
isOpen={isOpen}
onToggle={onToggle}
@ -78,6 +79,7 @@ const MountPoint = ({ ...props }) => {
</Select>
{prefix !== '/' && !prefix.startsWith('/boot') && (
<TextInput
ouiaId="mount-suffix"
className="pf-u-w-50"
type="text"
value={suffix}

View file

@ -43,6 +43,7 @@ const SizeUnit = ({ ...props }) => {
return (
<>
<TextInput
ouiaId="size"
className="pf-u-w-50"
type="text"
value={size}
@ -50,6 +51,7 @@ const SizeUnit = ({ ...props }) => {
onChange={(v) => setSize(isNaN(parseInt(v)) ? 0 : parseInt(v))}
/>
<Select
ouiaId="unit"
className="pf-u-w-50"
isOpen={isOpen}
onToggle={onToggle}