rm unused test

This commit is contained in:
peintnermax
2023-08-02 14:52:17 +02:00
parent d0445d6147
commit 707ffae256

View File

@@ -27,15 +27,9 @@ describe("register idps", () => {
});
});
it("should show a custom text on the idp button", () => {
it("should show a custom text on the idp button and redirect to the correct URL", () => {
cy.visit("/register/idp");
cy.get('button[e2e="google"]').find("span").contains(CUSTOM_TEXT);
cy.location("pathname", { timeout: 10_000 }).should("eq", IDP_URL);
});
it("should redirect a user who selects an idp on register to a url", () => {
cy.visit("/register/idp");
cy.get('button[e2e="google"]').click();
cy.location("pathname", { timeout: 10_000 }).should("eq", "/passkey/add");
});
});