Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-20 19:57:32 +00:00
parent 88fb8995c5
commit 4c0882be71

View File

@ -1,7 +1,7 @@
import { expect, test } from "@playwright/test";
import { expect, test, Page } from "@playwright/test";
import { applyDeterministicPage, e2eHeaders, useE2EUser } from "./helpers.ts";
test("tenant onboarding lets renters apply and reach dashboard", async ({ page }) => {
test("tenant onboarding lets renters apply and reach dashboard", async ({ page }: { page: Page }) => {
await applyDeterministicPage(page);
await useE2EUser(page, "tenant");
@ -21,7 +21,7 @@ test("tenant onboarding lets renters apply and reach dashboard", async ({ page }
.toBeVisible();
});
test("landlord onboarding entry points show dashboard access", async ({ page }) => {
test("landlord onboarding entry points show dashboard access", async ({ page }: { page: Page }) => {
await applyDeterministicPage(page);
await useE2EUser(page, "landlord");
@ -41,7 +41,7 @@ test("landlord onboarding entry points show dashboard access", async ({ page })
).toBeVisible();
});
test("onboarded landlord skips profile onboarding", async ({ page }) => {
test("onboarded landlord skips profile onboarding", async ({ page }: { page: Page }) => {
await applyDeterministicPage(page);
await useE2EUser(page, "landlord");
@ -53,7 +53,7 @@ test("onboarded landlord skips profile onboarding", async ({ page }) => {
await expect(page.getByLabel(/street address/i)).toBeVisible();
});
test("invite links highlight the selected rental on onboarding", async ({ page }) => {
test("invite links highlight the selected rental on onboarding", async ({ page }: { page: Page }) => {
await applyDeterministicPage(page);
const inviteResponse = await page.request.post("/api/update/tenant_invite", {
@ -77,3 +77,4 @@ test("invite links highlight the selected rental on onboarding", async ({ page }
await expect(page.getByText("Skyline Lofts")).toBeVisible();
await expect(page.getByLabel(/select a property/i)).toHaveCount(0);
});