Firstboot: Add testid to empty state buttons

This commit is contained in:
Ondrej Ezr 2024-07-16 10:05:25 +02:00 committed by Klara Simickova
parent e0ec56c94d
commit 22c3686e2e

View file

@ -64,6 +64,10 @@ const FirstBootStep = () => {
onCodeChange={(code) => dispatch(setFirstBootScript(code))}
code={selectedScript}
height="35vh"
emptyStateButton={<span data-testid="firstboot_browse">Browse</span>}
emptyStateLink={
<span data-testid="firstboot_write_manual">Start from scratch</span>
}
/>
</Form>
);