Apply patch [skip ci]
This commit is contained in:
parent
01132c8b82
commit
b0e2ee60ce
@ -1,7 +1,7 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
import { expect, test, type Page } from "@playwright/test";
|
||||
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 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();
|
||||
});
|
||||
|
||||
test("landlord rent collection highlights overdue payments", async ({ page }) => {
|
||||
test("landlord rent collection highlights overdue payments", async ({ page }: { page: Page }) => {
|
||||
await applyDeterministicPage(page);
|
||||
await useE2EUser(page, "landlord");
|
||||
|
||||
@ -35,3 +35,4 @@ test("landlord rent collection highlights overdue payments", async ({ page }) =>
|
||||
await expect(overdueCard).toContainText("1");
|
||||
await expect(lateFeeCard).toContainText("$50");
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user