0
0
Cypresstesting~5 mins

Cypress Dashboard (Cloud) service

Choose your learning style9 modes available
Introduction

The Cypress Dashboard (Cloud) service helps you see and understand your test results in one place. It makes tracking test runs easy and clear.

You want to watch your automated tests run over time.
You need to share test results with your team quickly.
You want to find and fix test failures faster.
You want to see detailed logs and videos of your tests.
You want to compare test results from different runs or branches.
Syntax
Cypress
npx cypress run --record --key <your-record-key>
Use the --record flag to send test results to the Dashboard.
Replace <your-record-key> with your unique project key from the Dashboard.
Examples
This command runs your tests and sends the results to the Dashboard using the key abc123.
Cypress
npx cypress run --record --key abc123
Another way to run tests and record results with your project key myprojectkey.
Cypress
npx cypress run --record --key myprojectkey
Sample Program

This runs all your Cypress tests and uploads the results to the Dashboard. You can then open the Dashboard website to see test videos, logs, and history.

Cypress
npx cypress run --record --key abc123
OutputSuccess
Important Notes

You need to create a free account on the Cypress Dashboard website to get your project record key.

Dashboard shows videos and screenshots only if you enable them in your Cypress config.

Dashboard helps you spot flaky tests by showing test history and trends.

Summary

The Cypress Dashboard service collects and shows your test results online.

Use --record with your project key to send results.

It helps teams track tests, find failures, and improve quality.