debian-image-builder-frontend/src/test
lucasgarfield baddf66273 Test: rename create-image-action data-testid
The data-testid for the Create image button in the empty state has been
renamed from create-image-action has been renamed to create-image-action-empty-state.

The test `renders EmptyState child component` started failing after changing
isBeta() from false to true in the useChrome() mocking function.

It was failing because the findBy query selector was able to find two
components with this data-testid, which was truly the case - the Create
Image button in the table header, and the Create Image button in the
empty state.

I have no explanation for why this test wasn't failing before.
2024-03-05 19:27:46 +01:00
..
Components Test: rename create-image-action data-testid 2024-03-05 19:27:46 +01:00
fixtures fix(HMS-3704): hiding blueprint out of sync alert 2024-03-04 18:11:10 +01:00
mocks fix(HMS-3704): hiding blueprint out of sync alert 2024-03-04 18:11:10 +01:00
.eslintrc ESLint: Add no-debugging-utils rule 2024-01-25 15:23:57 +01:00
jest.setup.js test: Mock ResizeObserver 2023-12-07 19:39:58 +01:00
README.md Add README with info around testing 2020-11-03 15:31:40 +01:00
testUtils.js ImagesTable: Convert ImagesTable to Typescript & RTK Query 2023-09-18 10:35:04 +02:00

Testing information

Code coverage

Code coverage is recorded in codecov.io. This information comes only from unit tests and for the time being we're not concerned with collecting coverage information from integration tests.

It must be over 85% as required by Insights QE!