Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-21 14:42:55 +00:00
parent 01132c8b82
commit b0e2ee60ce

View File

@ -1,7 +1,7 @@
import { expect, test } from "@playwright/test"; import { expect, test, type Page } from "@playwright/test";
import { applyDeterministicPage, useE2EUser } from "./helpers.ts"; import { applyDeterministicPage, useE2EUser } from "./helpers.ts";
test("tenant payment history surfaces late fees", async ({ page }) => { test("tenant payment history surfaces late fees", async ({ page }: { page: Page }) => {
await applyDeterministicPage(page); await applyDeterministicPage(page);
await useE2EUser(page, "tenant"); await useE2EUser(page, "tenant");
@ -16,7 +16,7 @@ test("tenant payment history surfaces late fees", async ({ page }) => {
await expect(page.getByText(/late fees due/i)).toBeVisible(); await expect(page.getByText(/late fees due/i)).toBeVisible();
}); });
test("landlord rent collection highlights overdue payments", async ({ page }) => { test("landlord rent collection highlights overdue payments", async ({ page }: { page: Page }) => {
await applyDeterministicPage(page); await applyDeterministicPage(page);
await useE2EUser(page, "landlord"); await useE2EUser(page, "landlord");
@ -35,3 +35,4 @@ test("landlord rent collection highlights overdue payments", async ({ page }) =>
await expect(overdueCard).toContainText("1"); await expect(overdueCard).toContainText("1");
await expect(lateFeeCard).toContainText("$50"); await expect(lateFeeCard).toContainText("$50");
}); });