diff --git a/apps/web/playwright/booking/allQuestions.e2e.ts b/apps/web/playwright/booking/allQuestions.e2e.ts index 490ed14e8c..c75f6febe9 100644 --- a/apps/web/playwright/booking/allQuestions.e2e.ts +++ b/apps/web/playwright/booking/allQuestions.e2e.ts @@ -56,7 +56,10 @@ test.describe("Booking With All Questions", () => { const eventTypePage = await bookingPage.previewEventType(); await bookingPage.selectTimeSlot(eventTypePage); await bookingPage.fillAllQuestions(eventTypePage, allQuestions, bookingOptions); - await bookingPage.cancelAndRescheduleBooking(eventTypePage); + await bookingPage.rescheduleBooking(eventTypePage); + await bookingPage.assertBookingRescheduled(eventTypePage); + await bookingPage.cancelBooking(eventTypePage); + await bookingPage.assertBookingCanceled(eventTypePage); }); test("Selecting and filling all questions as optional", async ({ bookingPage }) => { @@ -102,6 +105,9 @@ test.describe("Booking With All Questions", () => { const eventTypePage = await bookingPage.previewEventType(); await bookingPage.selectTimeSlot(eventTypePage); await bookingPage.fillRequiredQuestions(eventTypePage); - await bookingPage.cancelAndRescheduleBooking(eventTypePage); + await bookingPage.rescheduleBooking(eventTypePage); + await bookingPage.assertBookingRescheduled(eventTypePage); + await bookingPage.cancelBooking(eventTypePage); + await bookingPage.assertBookingCanceled(eventTypePage); }); });