Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Latest commit

 

History

History
64 lines (41 loc) · 1.31 KB

File metadata and controls

64 lines (41 loc) · 1.31 KB

☀️ Part 8: The Dashboard

📚 You will learn

  • Purpose for Cypress Dashboard
  • How to send test results to Cypress Dashboard
  • Test parallelization using Cypress Dashboard

+++

  • CI is nice, but
    • artifacts are all over the place
    • no consistent view of the tests

+++

Cypress dashboard

Cypress dashboard

+++

  • store test results and videos
  • insight into each failure
  • parallel test execution
  • GitHub integration
  • analytics (WIP)

+++

  • extend work in 07-ci folder
  • open Cypress test runner in interactive mode
  • click "Runs / Set up project to record"

Set up project to record

+++

Record your test runs

  • record a test run locally
  • look at the test results at Cypress dashboard
  • set the variables and commands to record from CI

tip https://on.cypress.io/dashboard-faq

+++

Bonus

  • pass record key as an environment variable
  • make a test to fail on purpose
  • look at the test failure on the dashboard

+++

Big bonus: Parallelization

npx cypress run --record --parallel