9 lines
326 B
TypeScript
9 lines
326 B
TypeScript
import { test } from "@playwright/test";
|
|
import { expectPageRedirectsToLogin } from "../helpers/auth-assertions.ts";
|
|
|
|
test.describe("Landlord Payments Route Guard", () => {
|
|
test("payments route requires authentication", async ({ request }) => {
|
|
await expectPageRedirectsToLogin(request, "/landlord/payments");
|
|
});
|
|
});
|