Firstboot: Add testid to empty state buttons
This commit is contained in:
parent
e0ec56c94d
commit
22c3686e2e
1 changed files with 4 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ const FirstBootStep = () => {
|
||||||
onCodeChange={(code) => dispatch(setFirstBootScript(code))}
|
onCodeChange={(code) => dispatch(setFirstBootScript(code))}
|
||||||
code={selectedScript}
|
code={selectedScript}
|
||||||
height="35vh"
|
height="35vh"
|
||||||
|
emptyStateButton={<span data-testid="firstboot_browse">Browse</span>}
|
||||||
|
emptyStateLink={
|
||||||
|
<span data-testid="firstboot_write_manual">Start from scratch</span>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue