lint, unit tests

This commit is contained in:
peintnermax
2023-08-02 15:21:34 +02:00
parent b5a5212dc8
commit 284859c21a
3 changed files with 28 additions and 16 deletions

View File

@@ -14,8 +14,8 @@ describe("register idps", () => {
it("should redirect the user to the correct url", () => {
cy.visit("/register/idp");
cy.get('button[e2e="google"]').click();
cy.origin(IDP_URL, ()=> {
cy.origin(IDP_URL, () => {
cy.location("href", { timeout: 10_000 }).should("eq", IDP_URL);
})
});
});
});