Easily Perform Multi-Domain Testing with cy.origin
With the cy.origin() command, (added in Cypress 9.6.0), you can easily switch between origins to seamlessly test syndicated authentication, cross-site CMS workflows, and much more.
UPDATE: With Cypress 12, we brought cy.session() support out of experimental and into general availability status. Session support can tie closely with cross-origin in that you can save a user session (storage, cookies, etc.) after authentication and restore it in a subsequent test. This cuts down on overall test sui
Read more