bugsnag / bugsnag-js-performance

Monitor the performance of your JavaScript (web and React Native) and see the results in your BugSnag dashboard.
https://docs.bugsnag.com/performance/integration-guides
MIT License
5 stars 3 forks source link

[PLAT-11565] Configure end to end tests #406

Closed gingerbenw closed 7 months ago

gingerbenw commented 7 months ago

Goal

Add end to end testing configuration for react-native-navigation support in the react-native client

Design

This approach iterates upon the design used in the notifier to build a test fixture using react-native-navigation which has the ability to load and run any react native scenario

Changeset

Testing

Added a simple test fixture to ensure tests can run and pass on both Android and iOS

github-actions[bot] commented 7 months ago

Browser bundle size

NPM build

Package
Before 180.09 kB
After 180.09 kB
± No change

CDN build

Unminified Minfied Minified + gzipped
Before 87.01 kB 32.72 kB 10.01 kB
After 87.01 kB 32.72 kB 10.01 kB
± No change No change No change

Code coverage

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
91.13%(+0%) 80.91%(+0%) 91.99%(+0%) 88.5%(+0%)

Generated against 8681f574e0a7386fb5483a2aaebf6d1b282dcd68 on 21 February 2024 at 12:47:19 UTC

gingerbenw commented 7 months ago

Scenarios outside of the new navigation one are currently failing on CI, but working locally, I will raise a separate ticket to cover getting these tests passing as well.