import { test } from "@playwright/test"; import { expectPageRedirectsToLogin } from "../helpers/auth-assertions.ts"; test.describe("Landlord Properties Route Guard", () => { test("properties list requires authentication", async ({ request }) => { await expectPageRedirectsToLogin(request, "/landlord/properties"); }); test("add property route requires authentication", async ({ request }) => { await expectPageRedirectsToLogin(request, "/landlord/properties/add"); }); });