I'm using Cypress with a Microsoft Dynamics solution. Up until this point, all the testing has taken place on unauthenticated pages, but now Cypress has fixed a bug with framebusting on the microsoft login redirect, I'm trying to write a custom command to login (once) and run subsequent tests.
I've managed to get the login working with cy.origin but having to do this before each test is not very performant. When I try to get around this by using cy.session, I get the following issue. Has anyone got any experience with this?