Apply patch [skip ci]
This commit is contained in:
parent
39f8152f5e
commit
dc4585bc7f
@ -1,7 +1,7 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
import { expect, test, Page } from "@playwright/test";
|
||||
import { applyDeterministicPage, useE2EUser } from "./helpers.ts";
|
||||
|
||||
test("landlord dashboard surfaces portfolio activity", async ({ page }) => {
|
||||
test("landlord dashboard surfaces portfolio activity", async ({ page }: { page: Page }) => {
|
||||
await applyDeterministicPage(page);
|
||||
await useE2EUser(page, "landlord");
|
||||
|
||||
@ -24,7 +24,7 @@ test("landlord dashboard surfaces portfolio activity", async ({ page }) => {
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test("landlord properties list includes active listings", async ({ page }) => {
|
||||
test("landlord properties list includes active listings", async ({ page }: { page: Page }) => {
|
||||
await applyDeterministicPage(page);
|
||||
await useE2EUser(page, "landlord");
|
||||
|
||||
@ -36,7 +36,7 @@ test("landlord properties list includes active listings", async ({ page }) => {
|
||||
await expect(page.getByText("456 Maple St")).toBeVisible();
|
||||
});
|
||||
|
||||
test("landlord can approve an application", async ({ page }) => {
|
||||
test("landlord can approve an application", async ({ page }: { page: Page }) => {
|
||||
await applyDeterministicPage(page);
|
||||
await useE2EUser(page, "landlord");
|
||||
|
||||
@ -61,7 +61,7 @@ test("landlord can approve an application", async ({ page }) => {
|
||||
await expect(updatedRow).toContainText(/approved/i);
|
||||
});
|
||||
|
||||
test("landlord can update maintenance status", async ({ page }) => {
|
||||
test("landlord can update maintenance status", async ({ page }: { page: Page }) => {
|
||||
await applyDeterministicPage(page);
|
||||
await useE2EUser(page, "landlord");
|
||||
|
||||
@ -75,3 +75,4 @@ test("landlord can update maintenance status", async ({ page }) => {
|
||||
await expect(page).toHaveURL(/\/landlord\/maintenance/);
|
||||
await expect(statusSelect).toHaveValue("in_progress");
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user