This commit is contained in:
Elio Bischof
2023-07-05 19:08:38 +02:00
parent 1bd5ea4e2d
commit dafe5fe25a
2 changed files with 6 additions and 3 deletions

View File

@@ -82,7 +82,10 @@ describe("login", () => {
cy.location("pathname", { timeout: 10_000 }).should("eq", "/password");
cy.get('input[type="password"]').focus().type("MyStrongPassword!1");
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"
);
});
});
});

View File

@@ -10,7 +10,7 @@ function removeStub(service: string, method: string) {
}
export function stub(service: string, method: string, out?: any) {
removeStub(service, method)
removeStub(service, method);
return cy.request({
url: "http://localhost:22220/v1/stubs",
method: "POST",