From d1b063d59df95f73015c61e9112c97e80e2dafc7 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Thu, 14 Apr 2022 20:31:38 +0530 Subject: [PATCH] User should be able to rebook a cancelled timeslot (#2483) Co-authored-by: Bailey Pumfleet --- apps/web/playwright/booking-pages.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web/playwright/booking-pages.test.ts b/apps/web/playwright/booking-pages.test.ts index 9ffcf471b2..6c54ab667f 100644 --- a/apps/web/playwright/booking-pages.test.ts +++ b/apps/web/playwright/booking-pages.test.ts @@ -125,7 +125,7 @@ test.describe("pro user", () => { }); }); - test("Can cancel the recently created booking", async ({ page }) => { + test("Can cancel the recently created booking and rebook the same timeslot", async ({ page }) => { await bookFirstEvent(page); await page.goto("/bookings/upcoming"); @@ -142,5 +142,7 @@ test.describe("pro user", () => { return url.pathname === "/cancel/success"; }, }); + await page.goto("/pro"); + await bookFirstEvent(page); }); });