fix webhook e2e test (#14850)

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2024-05-03 14:59:52 +00:00
1 parent 57b404f721
commit 5c2b561a5c
1 file changed
+2 -2
+2 -2
View File
@@ -427,7 +427,7 @@ test.describe("BOOKING_RESCHEDULED", async () => {
await page.locator('[data-testid="confirm-reschedule-button"]').click();
await expect(page).toHaveURL(/.*booking/);
await expect(page.getByTestId("success-page")).toBeVisible();
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const newBooking = await prisma.booking.findFirst({ where: { fromReschedule: booking?.uid } })!;
@@ -494,7 +494,7 @@ test.describe("BOOKING_RESCHEDULED", async () => {
await page.locator('[data-testid="confirm-reschedule-button"]').click();
await expect(page).toHaveURL(/.*booking/);
await expect(page.getByTestId("success-page")).toBeVisible();
const newBooking = await prisma.booking.findFirst({
where: {