9 lines
325 B
TypeScript
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");
|
|
});
|
|
});
|