Instrument Your Browser Tests With RUM
CI Visibility is not available in the selected site () at this time.
Overview
Ensure that Test Visibility is already set up for Cypress.
Compatibility
The CI Visibility - RUM integration is only available for these versions of cypress
, dd-trace-js
, and browser-sdk
:
cypress
>= 6.7.0dd-trace-js
>= 1.7.0browser-sdk
>= 3.11.0
Only cypress
is supported for this integration at the moment.
From Browser SDK v5.0.0, enable the `allowUntrustedEvents` initialization parameter during Cypress tests to correctly capture clicks.
Connect browser tests and RUM
If you use Cypress to run your browser tests and the application being tested is instrumented using Real User Monitoring, your test results and their generated RUM browser sessions and session replays are automatically linked.
A Browser Sessions tab appears in the Test Visibility test details side panel.
The RUM session has all the data that RUM normally collects so you can debug potential issues in your browser tests, such as unexpected errors.
Further reading
Additional helpful documentation, links, and articles: