Cypress · Junior · Question 4 of 75

Where is the main Cypress configuration usually defined?

Show the answer

Correct answer: In cypress.config.ts or cypress.config.js

Explanation

The config file sets baseUrl, spec patterns, viewport, timeouts, retries and Node event handlers via defineConfig.

Further reading

Problem with a question

Cypress · Junior · question 4

Test yourself

Take the Cypress · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz