Cypress · Senior · Question 76 of 76
When does a dedicated API test suite beat cy.request tests?
- 1Never; Cypress is always the best choice for APIs
- 2For large API coverage needing contracts, load and schemas
- 3Only when the API has no authentication
Show the answer
Correct answer: For large API coverage needing contracts, load and schemas
Explanation
Cypress can test APIs, but dedicated tools fit large API suites better. Use Cypress API calls mainly for setup.