Apply patch [skip ci]
This commit is contained in:
parent
580d53d5a8
commit
ff464fb747
@ -1,7 +1,7 @@
|
|||||||
import { expect, test } from "@playwright/test";
|
import { expect, test, Page } from "@playwright/test";
|
||||||
import { applyDeterministicPage, useE2EUser } from "./helpers.ts";
|
import { applyDeterministicPage, useE2EUser } from "./helpers.ts";
|
||||||
|
|
||||||
test("landlord profile setup advances to property details", async ({ page }) => {
|
test("landlord profile setup advances to property details", async ({ page }: { page: Page }) => {
|
||||||
await applyDeterministicPage(page);
|
await applyDeterministicPage(page);
|
||||||
await useE2EUser(page, "landlord-onboarding");
|
await useE2EUser(page, "landlord-onboarding");
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ test("landlord profile setup advances to property details", async ({ page }) =>
|
|||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("property setup submits and lands on landlord dashboard", async ({ page }) => {
|
test("property setup submits and lands on landlord dashboard", async ({ page }: { page: Page }) => {
|
||||||
await applyDeterministicPage(page);
|
await applyDeterministicPage(page);
|
||||||
await useE2EUser(page, "landlord-onboarding");
|
await useE2EUser(page, "landlord-onboarding");
|
||||||
|
|
||||||
@ -49,3 +49,4 @@ test("property setup submits and lands on landlord dashboard", async ({ page })
|
|||||||
await expect(page.getByRole("heading", { name: /landlord dashboard/i }))
|
await expect(page.getByRole("heading", { name: /landlord dashboard/i }))
|
||||||
.toBeVisible();
|
.toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user