mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:15:04 +00:00
integration
This commit is contained in:
@@ -59,7 +59,7 @@ describe("login", () => {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
it("should redirect a user with password authentication to /password", () => {
|
it("should redirect a user with password authentication to /password", () => {
|
||||||
cy.visit("/loginname?loginName=johndoe%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");
|
||||||
});
|
});
|
||||||
describe("with passkey prompt", () => {
|
describe("with passkey prompt", () => {
|
||||||
@@ -102,7 +102,7 @@ describe("login", () => {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
it("should redirect a user with passwordless authentication to /passkey/login", () => {
|
it("should redirect a user with passwordless authentication to /passkey/login", () => {
|
||||||
cy.visit("/loginname?loginName=johndoe%40zitadel.com&submit=true");
|
cy.visit("/loginname?loginName=john%40zitadel.com&submit=true");
|
||||||
cy.location("pathname", { timeout: 10_000 }).should(
|
cy.location("pathname", { timeout: 10_000 }).should(
|
||||||
"eq",
|
"eq",
|
||||||
"/passkey/login"
|
"/passkey/login"
|
||||||
|
|||||||
Reference in New Issue
Block a user