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. |
||
|---|---|---|
| .. | ||
| Components | ||
| fixtures | ||
| mocks | ||
| .eslintrc | ||
| jest.setup.js | ||
| README.md | ||
| testUtils.js | ||
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!