Cypress · Middle · Question 67 of 77
How do you run Cypress against a local dev server in CI?
- 1Cypress starts any server automatically from
baseUrl - 2Run Cypress first, then start the server
- 3Start the server, wait for its URL, then run Cypress
Show the answer
Correct answer: Start the server, wait for its URL, then run Cypress
Explanation
Tools like start-server-and-test or CI service containers start the app and wait until it responds.