Instrumenting your browser tests with RUM

CI Visibility is not available in the selected site () at this time.

Compatibility

The CI Visibility - RUM integration is only available for these versions of cypress, dd-trace-js and browser-sdk:

  • cypress >= 6.7.0
  • dd-trace-js >= 1.7.0
  • browser-sdk >= 3.11.0

Note: Only cypress is supported for this integration at the moment.

Browser tests and RUM

If you use Cypress for your browser tests and the application being tested is instrumented using RUM, your test results and their generated RUM browser sessions and session replays are automatically linked. A new Browser Sessions tab appears in the test detail side panel:

Browser Session Tab in Test Detail

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:

Browser Session Tab Errors in Test Detail