Closed johnkim-det closed 3 months ago
Name | Link |
---|---|
Latest commit | 7f0ada42fc9a78b48ce6d3510d051c2aa219f9ce |
Latest deploy log | https://app.netlify.com/sites/determined-ui/deploys/66845b809ab1910008877d2e |
Deploy Preview | https://deploy-preview-9576--determined-ui.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 47.43%. Comparing base (
84072f6
) to head (7f0ada4
). Report is 4 commits behind head on main.
Saw that some tests were failing in CI so I've reverted the dependency update, which still makes the act
warnings appear.
I do think these warnings are not unique to this PR and are appearing throughout our test suite.
It looks like this is something that's an issue in @testing-library/react
which was fixed in version 14 (https://github.com/testing-library/react-testing-library/releases/tag/v14.0.0). However, upgrading to that version breaks other tests. My thinking here is that we should just create a separate task for updating this library version: https://hpe-aiatscale.atlassian.net/browse/ET-608
I think code cov report is saying there's full coverage, the 47.43% is project-level coverage?
Also I think a couple of the waitFor
s are necessary but removing the unnecessary ones and the unnecessary Providers.
I think code cov report is saying there's full coverage, the 47.43% is project-level coverage?
oh yes i always get confused
Also I think a couple of the
waitFor
s are necessary but removing the unnecessary ones and the unnecessary Providers.
i tested them without waitFor
and it worked well on my local though. not sure
Ticket
ET-198
Description
Add tests to
Searches
componentTest Plan
No additional testing required, automated tests should pass.
Checklist
docs/release-notes/
See Release Note for details.