Skip to content

Commit

Permalink
fix webhook e2e test (calcom#14850)
Browse files Browse the repository at this point in the history
Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
  • Loading branch information
3 people authored May 3, 2024
1 parent 57b404f commit 5c2b561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/playwright/webhook.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } })!;
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 5c2b561

Please sign in to comment.