Skip to content

Commit

Permalink
Fix login e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesschaletzky committed Dec 18, 2023
1 parent b3de6ce commit abe6748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fileignoreconfig:
- filename: app/mocks/stubs/calculationPositions.json
checksum: 4013141db60d72f20e9867642310c167f9f32d55406e7d9b788995eeac3c2111
- filename: tests/e2e/login.spec.ts
checksum: fcdd236aecbe539babccf1942cc9cea0b5acbfd77233247f2b2646f8c28c640a
checksum: 1a0d9ceaf8e4a6d76c7c9c0df4fcaca85edf5bd08344dd7a02cafa17cf01031a
- filename: tests/e2e/LoginPage.ts
allowed_patterns: [password]

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/login.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ test.describe("login page", () => {
).toBeVisible();

await page.locator("text=LOGOUT").click();
await expect(page.locator("h2 >> text=Enter. Time.")).toBeVisible();
await expect(page).toHaveURL("/login");
});
});

0 comments on commit abe6748

Please sign in to comment.