I have a simple cypress script I am trying to use to log in…
const fillLogin = async () => {
cy.log("Filling login");
cy.get("#username")
.should("be.visible")
.type("demouser@purepm.co");
cy.get("#password")
.should("be.visible")
.type("TestPassword0!");
cy.get("button[name=\"action\"]")
.should("be.visible")
.click();
return cy.get(".main-container")
.should("be.visible");
};
On a normal browser everything works fine but using cypress it just gets stuck at https://me.us.auth0.com/authorize/resume?state=...
and never redirects back to callback like it is supposed to. Any ideas?