Bird
0
0

You want to split your Cypress tests across 3 machines to run in parallel. Which setup is correct?

hard📝 Application Q8 of 15
Cypress - CI/CD and Reporting
You want to split your Cypress tests across 3 machines to run in parallel. Which setup is correct?
ARun <code>cypress open --parallel --record</code> on all machines
BRun <code>cypress run --record</code> without --parallel on all machines
CRun <code>cypress run --parallel --record</code> only on one machine
DRun <code>cypress run --parallel --record --group mygroup</code> on each machine with the same group name
Step-by-Step Solution
Solution:
  1. Step 1: Understand how to split tests across machines

    Use --parallel and --record flags to enable parallel runs coordinated by Dashboard.
  2. Step 2: Use the same --group name on all machines

    Using the same group name allows the Dashboard to intelligently split tests across the machines.
  3. Final Answer:

    Run cypress run --parallel --record --group mygroup on each machine with the same group name -> Option D
  4. Quick Check:

    Parallel + record + same group = correct multi-machine setup [OK]
Quick Trick: Use the same --group name on all machines for parallel runs [OK]
Common Mistakes:
  • Not using --parallel flag
  • Running cypress open instead of run
  • Using different group names on machines

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Cypress Quizzes