newrelic / newrelic-browser-agent

New Relic Browser Agent
Apache License 2.0
77 stars 40 forks source link

chore: add support for lambdatest #1055

Closed patrickhousley closed 4 months ago

patrickhousley commented 4 months ago

Please add a one-paragraph summary here, suitable for a release notes description. This will help with documentation.

Overview

Adding support for running wdio tests using LambdaTest. To use, pass the --lt flag when running wdio tests. Only desktop browsers are supported in this PR.

Related Issue(s)

https://new-relic.atlassian.net/browse/NR-254273

Testing

github-actions[bot] commented 4 months ago

Asset Size Report

Merging this pull request will result in the following asset size changes:

Agent Asset Previous Size New Size Diff
lite loader 31.78 kB / 11.13 kB (gzip) 31.78 kB / 11.13 kB (gzip) 0% / 0% (gzip)
lite async-chunk 50.97 kB / 16.57 kB (gzip) 50.97 kB / 16.57 kB (gzip) 0% / 0% (gzip)
pro loader 53.05 kB / 17.97 kB (gzip) 53.05 kB / 17.97 kB (gzip) 0% / 0% (gzip)
pro async-chunk 93.81 kB / 28.31 kB (gzip) 93.81 kB / 28.31 kB (gzip) 0% / 0% (gzip)
spa loader 61.16 kB / 20.48 kB (gzip) 61.16 kB / 20.48 kB (gzip) 0% / 0% (gzip)
spa async-chunk 109.07 kB / 32.74 kB (gzip) 109.07 kB / 32.74 kB (gzip) 0% / 0% (gzip)
lite-polyfills loader 125.76 kB / 40.42 kB (gzip) 125.76 kB / 40.42 kB (gzip) 0% / 0% (gzip)
lite-polyfills async-chunk 65.71 kB / 18.91 kB (gzip) 65.71 kB / 18.91 kB (gzip) 0% / 0% (gzip)
pro-polyfills loader 147.47 kB / 46.69 kB (gzip) 147.47 kB / 46.69 kB (gzip) 0% / 0% (gzip)
pro-polyfills async-chunk 114.33 kB / 30.27 kB (gzip) 114.33 kB / 30.27 kB (gzip) 0% / 0% (gzip)
spa-polyfills loader 155.67 kB / 48.83 kB (gzip) 155.67 kB / 48.83 kB (gzip) 0% / 0% (gzip)
spa-polyfills async-chunk 131.33 kB / 34.9 kB (gzip) 131.33 kB / 34.9 kB (gzip) 0% / 0% (gzip)
codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.56%. Comparing base (b342053) to head (a4d5322).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1055 +/- ## ======================================= Coverage 87.56% 87.56% ======================================= Files 156 156 Lines 7108 7108 Branches 1397 1397 ======================================= Hits 6224 6224 Misses 769 769 Partials 115 115 ``` | [Flag](https://app.codecov.io/gh/newrelic/newrelic-browser-agent/pull/1055/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=newrelic) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/newrelic/newrelic-browser-agent/pull/1055/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=newrelic) | `76.18% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=newrelic#carryforward-flags-in-the-pull-request-comment) to find out more.

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