Apply patch [skip ci]
This commit is contained in:
parent
b55a8265c3
commit
01132c8b82
@ -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 can review and sign lease documents", async ({ page }) => {
|
test("tenant can review and sign lease documents", async ({ page }: { page: Page }) => {
|
||||||
await applyDeterministicPage(page);
|
await applyDeterministicPage(page);
|
||||||
await useE2EUser(page, "tenant");
|
await useE2EUser(page, "tenant");
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ test("tenant can review and sign lease documents", async ({ page }) => {
|
|||||||
await expect(updatedRow).toContainText("Signed");
|
await expect(updatedRow).toContainText("Signed");
|
||||||
});
|
});
|
||||||
|
|
||||||
test("landlord can review and sign lease documents", async ({ page }) => {
|
test("landlord can review and sign lease documents", async ({ page }: { page: Page }) => {
|
||||||
await applyDeterministicPage(page);
|
await applyDeterministicPage(page);
|
||||||
await useE2EUser(page, "landlord");
|
await useE2EUser(page, "landlord");
|
||||||
|
|
||||||
@ -54,3 +54,4 @@ test("landlord can review and sign lease documents", async ({ page }) => {
|
|||||||
}).first();
|
}).first();
|
||||||
await expect(updatedRow).toContainText("Signed");
|
await expect(updatedRow).toContainText("Signed");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user