mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 14:48:45 +00:00
chore: renamed passwordless to passkey (#11338)
# Which Problems Are Solved Inconsistent naming of passkeys # How the Problems Are Solved translations are done using gemini # Additional Changes # Additional Context - Closes #11298 --------- Co-authored-by: Gayathri Vijayan <[email protected]>
This commit is contained in:
co-authored by
Gayathri Vijayan
parent
7276c40261
commit
26e7c8499d
@@ -111,7 +111,7 @@ 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 passkey authentication if passkey is allowed in the login settings", () => {
|
||||
// cy.visit("/loginname?loginName=john%40example.com&submit=true");
|
||||
// cy.location("pathname", { timeout: 5 * 60_000 }).should("eq", "/password");
|
||||
// cy.get('input[type="password"]').focus().type("MyStrongPassword!1");
|
||||
@@ -159,12 +159,12 @@ describe("login", () => {
|
||||
});
|
||||
stub("zitadel.user.v2.UserService", "ListAuthenticationMethodTypes", {
|
||||
data: {
|
||||
authMethodTypes: [2], // 2 for passwordless authentication
|
||||
authMethodTypes: [2], // 2 for passkey authentication
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
it("should redirect a user with passwordless authentication to /passkey", () => {
|
||||
it("should redirect a user with passkey authentication to /passkey", () => {
|
||||
cy.visit("/loginname?loginName=john%40example.com&submit=true");
|
||||
cy.url().should("include", Cypress.config().baseUrl + "/passkey");
|
||||
});
|
||||
|
||||
@@ -60,7 +60,7 @@ describe("register", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("should redirect a user who selects passwordless on register to /passkey/set", () => {
|
||||
it("should redirect a user who selects passkey on register to /passkey/set", () => {
|
||||
cy.visit("/register");
|
||||
cy.get('input[data-testid="firstname-text-input"]').focus().type("John");
|
||||
cy.get('input[data-testid="lastname-text-input"]').focus().type("Doe");
|
||||
|
||||
Reference in New Issue
Block a user