Bird
0
0

Given the following Cypress command run in parallel mode:

medium📝 Predict Output Q13 of 15
Cypress - CI/CD and Reporting
Given the following Cypress command run in parallel mode:
cypress run --parallel --record --key abc123

What is the expected behavior during test execution?
ATests run one by one and results are not recorded.
BTests run simultaneously across multiple machines and results are recorded in the Dashboard.
CTests run only on a single machine without recording.
DTests run in parallel but results are saved locally only.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the command flags

    The command uses --parallel to run tests simultaneously and --record with a --key to save results to Cypress Dashboard.
  2. Step 2: Understand the effect on test execution

    Tests will run on multiple machines or processes at the same time, and results will be uploaded to the Dashboard for viewing.
  3. Final Answer:

    Tests run simultaneously across multiple machines and results are recorded in the Dashboard. -> Option B
  4. Quick Check:

    Parallel + record = simultaneous runs + Dashboard [OK]
Quick Trick: Parallel + record means multiple machines and Dashboard [OK]
Common Mistakes:
  • Assuming tests run sequentially despite --parallel
  • Thinking results are saved only locally
  • Ignoring the effect of --record and --key

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Cypress Quizzes