Skip to content

Code coverage cypress #9437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

angle943
Copy link
Collaborator

Description

Changelog

  • test: Introduce code coverage collection to Cypress runs
  • test: Enable Cypress tests to detect features of the OSD instance they are running against
  • test: Turn on test isolation when security is disabled
  • infra: Add coverage reporting to Cypress CI

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

angle943 and others added 30 commits February 7, 2025 16:01
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Signed-off-by: Justin Kim <[email protected]>
Copy link

codecov bot commented Feb 22, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 61.74%. Comparing base (946c6bb) to head (c97c294).

Files with missing lines Patch % Lines
packages/osd-babel-preset/common_preset.js 50.00% 1 Missing ⚠️
src/core/server/http/http_server.ts 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9437   +/-   ##
=======================================
  Coverage   61.74%   61.74%           
=======================================
  Files        3816     3816           
  Lines       91890    91894    +4     
  Branches    14563    14564    +1     
=======================================
+ Hits        56733    56737    +4     
  Misses      31497    31497           
  Partials     3660     3660           
Flag Coverage Δ
Linux_1 28.99% <50.00%> (+<0.01%) ⬆️
Linux_2 56.41% <50.00%> (-0.01%) ⬇️
Linux_3 39.26% <50.00%> (+<0.01%) ⬆️
Linux_4 28.87% <0.00%> (-0.01%) ⬇️
Windows_1 29.00% <50.00%> (+<0.01%) ⬆️
Windows_2 56.37% <50.00%> (-0.01%) ⬇️
Windows_3 39.26% <50.00%> (+<0.01%) ⬆️
Windows_4 28.87% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@angle943 angle943 closed this Feb 26, 2025
@angle943 angle943 deleted the code-coverage-cypress branch February 26, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants