0
0
Cypresstesting~10 mins

Cypress Dashboard (Cloud) service - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to record test results to Cypress Dashboard.

Cypress
cypress run --[1]
Drag options to blanks, or click blank then click option'
Await
Brecord
Cvisit
Dclick
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'visit' instead of 'record'
Trying to use 'click' to send results
Forgetting the 'record' flag
2fill in blank
medium

Complete the code to enable recording in the Cypress config file.

Cypress
"[1]": true
Drag options to blanks, or click blank then click option'
Avideo
BbaseUrl
Crecord
DwatchForFileChanges
Attempts:
3 left
💡 Hint
Common Mistakes
Setting 'video' to true instead of 'record'
Confusing 'baseUrl' with recording flag
Using 'watchForFileChanges' incorrectly
3fill in blank
hard

Fix the error in the command to run tests and record results.

Cypress
cypress run --[1]
Drag options to blanks, or click blank then click option'
Arecord
Bno-record
Cskip-record
Ddisable-record
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--no-record' disables recording
Using '--skip-record' is invalid
Forgetting the double dashes
4fill in blank
hard

Fill both blanks to configure project ID and enable recording in cypress.json.

Cypress
{
  "[1]": "your-project-id",
  "[2]": true
}
Drag options to blanks, or click blank then click option'
AprojectId
BrecordKey
CprojectKey
Drecord
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'recordKey' instead of 'record'
Confusing 'projectKey' with 'projectId'
Omitting the 'record' key
5fill in blank
hard

Fill all three blanks to write a command that runs tests, records results, and sets a group name.

Cypress
cypress run --[1] --[2] "[3]"
Drag options to blanks, or click blank then click option'
Arecord
Bgroup
Cmy-test-group
DprojectId
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'projectId' as a flag in the run command
Omitting the group name string
Mixing up the order of flags