Cypress · Senior · Question 22 of 76
How should a monorepo with several apps organise Cypress?
- 1A config per app with its own baseUrl, specs and CI job
- 2One spec file per app in a single shared folder
- 3One config that runs every app's specs on one port
Show the answer
Correct answer: A config per app with its own baseUrl, specs and CI job
Explanation
Per-app configs keep servers and data separate, and CI can test only apps affected by a change.