sentry-wizard icon indicating copy to clipboard operation
sentry-wizard copied to clipboard

test(react-native): Add E2E Tests verifying RN Android project builds correctly

Open antonis opened this issue 10 months ago • 1 comments

Based on: https://github.com/getsentry/sentry-wizard/pull/992

Part of https://github.com/getsentry/sentry-wizard/issues/948

Description

Adds E2E tests verifying React Native Android project builds correctly

⚠️ Please consider that building the project increases the CI checks time significantly. Some indicative times in the table below.

React-Native E2E Tests main(just bundling) this PR
ubuntu-latest 1m 39s 7m 27s
macos-15 1m 36s 6m 3s

Given the increase in the CI checks time (currently the longest checks take ~3m to ~3.3m) and the fact that adding the iOS build checks will increase this time even further, I suggest to use this PR to discuss if we want the RN build checks to run only on specific cases or not at all.

To test locally run:

  • yarn test:e2e React-Native

#skip-changelog

antonis avatar May 08 '25 15:05 antonis

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 32.12%. Comparing base (3cc1b13) to head (0305ed6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #993   +/-   ##
=======================================
  Coverage   32.12%   32.12%           
=======================================
  Files         133      133           
  Lines       15696    15696           
  Branches     1100     1100           
=======================================
  Hits         5042     5042           
  Misses      10637    10637           
  Partials       17       17           
Flag Coverage Δ
unit-tests 32.12% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 08 '25 15:05 codecov[bot]

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog. Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

github-actions[bot] avatar Jan 16 '26 13:01 github-actions[bot]