integratedhub/tests/e2e/landlord/dashboard.spec.ts
2026-02-14 02:20:19 +00:00

9 lines
325 B
TypeScript

import { test } from "@playwright/test";
import { expectPageRedirectsToLogin } from "../helpers/auth-assertions.ts";
test.describe("Landlord Dashboard Route Guard", () => {
test("dashboard redirects guests to login", async ({ request }) => {
await expectPageRedirectsToLogin(request, "/landlord/dashboard");
});
});