Crossing origins is super common with sites that use third-party authentication, for example. Before, you would have to use programmatic authentication in Cypress tests, but this wasn’t indicative of how a real person would use the app. Now with cross-origin support, you no longer need to work around your login flow:
Due to how Cypress executes your tests in a browser, visiting another site was a huge technical hurdle due to cross-origin security limitations.
In Cypress 12 cy.session() included, which 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 suite execution time as each test won’t need to go through the authentication flow.
Sample Code:
it(‘user should be able to login’, () => {
cy.visit(‘https://localhost:3000/‘);
// clicking sign in button redirects to 3rd party auth site
cy.get(‘#sign-in’).click();
cy.origin(‘auth.securewebsite.com‘, () => {
cy.get(‘input[type=”email”]’).type(‘test@test.com‘); cy.get(‘input[type=”password”]’).type(‘testpassword’, { log: false }); // clicking submit does the auth and redirects back to main site cy.get(‘input[type=”submit”]’).click();
});
// once done testing can continue
cy.contains(`Welcome Tester McTester!`); });
Read more at Cross-Origin-Testing
Witness how our meticulous approach and cutting-edge solutions elevated quality and performance to new heights. Begin your journey into the world of software testing excellence. To know more refer to Tools & Technologies & QA Services.
If you would like to learn more about the awesome services we provide, be sure to reach out.
Happy Testing 🙂
FAQ
What are software testing services?
Software testing includes a wide range of services such as Performance and Load Testing, Web Testing, Regression Testing, Accessibility Testing, Unit Testing, Localization Testing, Usability Testing, Exploratory Testing, and User Acceptance Testing. It also includes, Functionality Testing, Mobile Application Testing, API Testing, UI Testing, and Compatibility & Security Testing Services.
Why do you need to test your software for quality assurance?
Software testing ensures the product’s quality and the satisfaction of customers and users. Additionally, it promises enhanced user experience, reliability, and better business optimization (reduced maintenance expense).
How do quality assurance and testing differ?
Organisations need help understanding both quality assurance and software testing because both aim to create bug-free, functional applications. Software testing involves techniques and procedures to find software bugs; quality assurance is a process to ensure that the project complies with the stakeholders’ expectations.

I’m the Founder & CEO of JigNect Technologies and a Quality Engineering Strategist with 15+ years of experience in software testing, test automation, and QA leadership.I help organizations build high-quality, scalable, and release-ready software by designing modern Quality Engineering ecosystems powered by automation, CI/CD, and AI-driven testing practices. My approach focuses on aligning QA strategy with business outcomes-improving product stability, accelerating release cycles, and increasing engineering efficiency.My experience spans multiple industries including FinTech, BFSI, Healthcare, Retail, ERP, Travel, EdTech, Insurance, Blockchain, and SaaS, where I’ve supported teams in scaling quality without slowing innovation.
My core areas of expertise include:
- End-to-end QA strategy for modern software products
- Scalable automation frameworks for Web, Mobile, API & Microservices
- Performance, Security & Accessibility testing
- Continuous Quality through CI/CD integration
- AI-driven QA transformation and maturity improvement
Under my leadership, JigNect Technologies has evolved into a high-maturity QA organization, recognized for automation excellence, structured delivery frameworks, and long-term global client partnerships.I regularly share insights on Quality Engineering, Automation Strategy, AI in QA, and Testing Best Practices, helping engineering teams and leaders build future-ready QA systems.
👉 For more professional insights and updates, connect with me on LinkedIn:
🔗 https://www.linkedin.com/in/ipiyushpatel/
