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
4 stars 1 forks source link

Fix flakey test: wait for element to appear in angular e2e tests #389

Closed yousif-bugsnag closed 6 months ago

yousif-bugsnag commented 6 months ago

Goal

Fixes an Angular test flake on iOS - the angular test fixture renders a loading screen initially, and then lazy loads the app component that contains the elements. On some occasions the component hasn't loaded when we try to click the element, so the test now waits for the element to appear before clicking

github-actions[bot] commented 6 months ago

Browser bundle size

NPM build

Package
Before 175.95 kB
After 175.95 kB
± No change

CDN build

Unminified Minfied Minified + gzipped
Before 84.94 kB 31.99 kB 9.84 kB
After 84.94 kB 31.99 kB 9.84 kB
± No change No change No change

Code coverage

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
92.21%(+0%) 81.1%(+0%) 93.89%(+0%) 90.24%(+0%)

Generated against a1311f6905a7c64568e7cf2d43f35e0f8698c84f on 28 December 2023 at 11:53:27 UTC