Cypress · Senior · Question 17 of 76
How would you test an app behind a third-party SSO provider?
- 1Programmatic login for most tests, plus a few full
cy.originflows - 2Skip all logged-in tests because SSO can't be automated
- 3Click through the real provider's page in every single test
Show the answer
Correct answer: Programmatic login for most tests, plus a few full cy.origin flows
Explanation
Third-party pages are slow and change without notice. A test-only token endpoint or IdP keeps most tests fast and stable.