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.0
  • dd-trace-js >= 1.7.0
  • browser-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.

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

Further reading