Icon updates

Updated a few icons to (maybe) better ones.

Signed-off-by: Nicholas Pappas <nwpappas@gmail.com>
This commit is contained in:
Nicholas Pappas
2023-07-07 15:44:12 -07:00
parent d6d1571b0c
commit edc3b38a70
2 changed files with 8 additions and 8 deletions
@@ -24,19 +24,19 @@ describe('StatusIcon', () => {
let rendered = await renderInTestApp(
<StatusIcon buildStatus="succeeded" />,
);
expect(rendered.getByLabelText('Status ok')).toBeInTheDocument();
expect(rendered.getByLabelText('Ok')).toBeInTheDocument();
rendered = await renderInTestApp(<StatusIcon buildStatus="failed" />);
expect(rendered.getByLabelText('Status error')).toBeInTheDocument();
expect(rendered.getByLabelText('Error')).toBeInTheDocument();
rendered = await renderInTestApp(<StatusIcon buildStatus="stopped" />);
expect(rendered.getByLabelText('Status warning')).toBeInTheDocument();
expect(rendered.getByLabelText('Warning')).toBeInTheDocument();
});
it('should render invalid statuses', async () => {
const rendered = await renderInTestApp(
<StatusIcon buildStatus={'invalid' as BuildStatus} />,
);
expect(rendered.getByLabelText('Status aborted')).toBeInTheDocument();
expect(rendered.getByLabelText('Aborted')).toBeInTheDocument();
});
});