10 lines
407 B
TypeScript
10 lines
407 B
TypeScript
import { test } from "@playwright/test";
|
|
import { expectPageRedirectsToLogin } from "../helpers/auth-assertions.ts";
|
|
|
|
test.describe("Landlord Applications Route Guard", () => {
|
|
test("applications pages require authentication", async ({ request }) => {
|
|
await expectPageRedirectsToLogin(request, "/landlord/applications");
|
|
await expectPageRedirectsToLogin(request, "/landlord/approvals");
|
|
});
|
|
});
|