Cypress:Config
lastmod 2026-11-10created 2020-09-282 edits
Cypress configuration is managed in the cypress.config.js (or .ts) file at the project root. It specifies the base URL (baseUrl), viewport size, test file location patterns, timeouts, and whether to save screenshots and videos, and e2e and component test settings can be written separately. Values can also be overridden with environment variables or CLI arguments.