User should be able to rebook a cancelled timeslot (#2483)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
parent
cfbf419f57
commit
d1b063d59d
1 changed files with 3 additions and 1 deletions
|
@ -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 bookFirstEvent(page);
|
||||||
|
|
||||||
await page.goto("/bookings/upcoming");
|
await page.goto("/bookings/upcoming");
|
||||||
|
@ -142,5 +142,7 @@ test.describe("pro user", () => {
|
||||||
return url.pathname === "/cancel/success";
|
return url.pathname === "/cancel/success";
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
await page.goto("/pro");
|
||||||
|
await bookFirstEvent(page);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue