mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 10:42:13 +00:00
lint
This commit is contained in:
@@ -82,7 +82,10 @@ describe("login", () => {
|
|||||||
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("eq", "/passkey/add");
|
cy.location("pathname", { timeout: 10_000 }).should(
|
||||||
|
"eq",
|
||||||
|
"/passkey/add"
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ function removeStub(service: string, method: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function stub(service: string, method: string, out?: any) {
|
export function stub(service: string, method: string, out?: any) {
|
||||||
removeStub(service, method)
|
removeStub(service, method);
|
||||||
return cy.request({
|
return cy.request({
|
||||||
url: "http://localhost:22220/v1/stubs",
|
url: "http://localhost:22220/v1/stubs",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|||||||
Reference in New Issue
Block a user