How to run Cypress test cases across multiple domains
Problem Statement
Before cypress version 9.6.0 if we want to run test cases in two domains under the same test case it gives us a different origin error.
In Version 9.6.0 this problem is solved, Now we can easily execute our test cases across multi-domain by using cy.origin() command.
Please see in detail in below link
https://qaautomationlabs.com/how-to-run-cypress-test-cases-across-multiple-domains/