Apply patch [skip ci]
This commit is contained in:
parent
a307723205
commit
7140f361ec
@ -147,7 +147,6 @@ test("landlord can approve a lease", async ({ page }: { page: Page }) => {
|
|||||||
|
|
||||||
// Submit approval form
|
// Submit approval form
|
||||||
const approveForm = page.locator('form').filter({ hasText: "approve" }).first();
|
const approveForm = page.locator('form').filter({ hasText: "approve" }).first();
|
||||||
await approveForm.fill({});
|
|
||||||
|
|
||||||
const approveResponse = await page.request.post("/api/lease/approve", {
|
const approveResponse = await page.request.post("/api/lease/approve", {
|
||||||
headers: { "Content-Type": "application/json", ...e2eHeaders("landlord") },
|
headers: { "Content-Type": "application/json", ...e2eHeaders("landlord") },
|
||||||
@ -196,7 +195,6 @@ test("landlord can reject a lease with reason", async ({ page }: { page: Page })
|
|||||||
|
|
||||||
// Submit rejection form with reason
|
// Submit rejection form with reason
|
||||||
const rejectForm = page.locator('form').filter({ hasText: "reject" }).first();
|
const rejectForm = page.locator('form').filter({ hasText: "reject" }).first();
|
||||||
await rejectForm.fill({});
|
|
||||||
|
|
||||||
const rejectionReason = "Insufficient income verification";
|
const rejectionReason = "Insufficient income verification";
|
||||||
const rejectResponse = await page.request.post("/api/lease/reject", {
|
const rejectResponse = await page.request.post("/api/lease/reject", {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user