should not prompt for the moment

This commit is contained in:
peintnermax
2024-10-16 17:21:52 +02:00
parent 69bc1c19e3
commit 77c00fb666

View File

@@ -104,16 +104,16 @@ describe("login", () => {
}, },
}); });
}); });
it("should prompt a user to setup passwordless authentication if passkey is allowed in the login settings", () => { // it("should prompt a user to setup passwordless authentication if passkey is allowed in the login settings", () => {
cy.visit("/loginname?loginName=john%40zitadel.com&submit=true"); // cy.visit("/loginname?loginName=john%40zitadel.com&submit=true");
cy.location("pathname", { timeout: 10_000 }).should("eq", "/password"); // cy.location("pathname", { timeout: 10_000 }).should("eq", "/password");
cy.get('input[type="password"]').focus().type("MyStrongPassword!1"); // cy.get('input[type="password"]').focus().type("MyStrongPassword!1");
cy.get('button[type="submit"]').click(); // cy.get('button[type="submit"]').click();
cy.location("pathname", { timeout: 10_000 }).should( // cy.location("pathname", { timeout: 10_000 }).should(
"eq", // "eq",
"/passkey/set", // "/passkey/set",
); // );
}); // });
}); });
}); });
describe("passkey login", () => { describe("passkey login", () => {