feat: show page context in browser tab titles

This commit is contained in:
2026-09-11 11:26:11 +03:00
parent ebba6ab25d
commit 2580134683
10 changed files with 218 additions and 2 deletions
@@ -55,6 +55,7 @@ describe("RouteErrorBoundary", () => {
it("offers login after a public route error without error details", () => {
authenticated = false;
renderBoundary("/login");
expect(document.title).toBe("Не удалось открыть страницу — WealthLedger");
expect(screen.getByRole("link", { name: "Продолжить" })).toHaveAttribute(
"href",
"/login",