diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-address-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-address-question.e2e.ts index 056571f858..6e3977aa46 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-address-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-address-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and Address Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Phone and Address required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-group-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-group-question.e2e.ts index dcfa63323e..11b09ee1a8 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-group-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-group-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and checkbox group Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Phone and checkbox group required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-question.e2e.ts index 7ecf116668..38d62b98c1 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-checkbox-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and checkbox Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Phone and checkbox required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-long-text-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-long-text-question.e2e.ts index 242f214bbb..e2cd090b93 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-long-text-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-long-text-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and Long text Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Phone and Long text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiple-emails-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiple-emails-question.e2e.ts index 393e58c161..194b8c3536 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiple-emails-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiple-emails-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and Multi email Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Phone and Multi email required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiselect-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiselect-question.e2e.ts index a6119d8922..e8a6edaf87 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiselect-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-multiselect-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and multiselect Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Phone and multiselect text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-number-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-number-question.e2e.ts index da53592b9a..b35c727de8 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-number-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-number-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and Number Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Phone and Number required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-radio-group-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-radio-group-question.e2e.ts index 2e9f0ccff9..e4ead7a230 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-radio-group-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-radio-group-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and Radio group Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Phone and Radio group required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-select-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-select-question.e2e.ts index bb963f956b..c054c259e2 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-select-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-select-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and select Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Phone and select required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/phoneQuestione2e/phone-and-short-text-question.e2e.ts b/apps/web/playwright/booking/phoneQuestione2e/phone-and-short-text-question.e2e.ts index 82bac518e3..95e393d0c0 100644 --- a/apps/web/playwright/booking/phoneQuestione2e/phone-and-short-text-question.e2e.ts +++ b/apps/web/playwright/booking/phoneQuestione2e/phone-and-short-text-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Phone Question and Short text question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Phone and Short text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-address-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-address-question.e2e.ts index 2cefe7d923..9473075a48 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-address-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-address-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and Address Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Radio Group and Address required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-group-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-group-question.e2e.ts index 0c917a7097..5fccf3c26c 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-group-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-group-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and checkbox group Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Radio Group and checkbox group required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-question.e2e.ts index ed2f7660bf..258e8fc1ce 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-checkbox-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and checkbox Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Radio Group and checkbox required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-long-text-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-long-text-question.e2e.ts index 53b245a3b8..d3810ec4c4 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-long-text-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-long-text-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and Long text Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Radio Group and Long text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiple-emails-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiple-emails-question.e2e.ts index 18231bb3e6..1bcaadae79 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiple-emails-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiple-emails-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and Multi email Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Radio Group and Multi email required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiselect-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiselect-question.e2e.ts index ff7cbecd2d..7e9e5b6734 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiselect-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-multiselect-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and multiselect Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Radio Group and multiselect text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-number-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-number-question.e2e.ts index a1e6041f58..5fb241736b 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-number-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-number-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and Number Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Radio Group and Number required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-phone-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-phone-question.e2e.ts index 3e7a79da64..c922f5955c 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-phone-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-phone-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and Phone group Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Radio Group and Radio group required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-select-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-select-question.e2e.ts index 33fa4f4917..5f77793405 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-select-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-select-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and select Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Radio Group and select required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-short-text-question.e2e.ts b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-short-text-question.e2e.ts index 0cecfc1b7b..2eb358a790 100644 --- a/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-short-text-question.e2e.ts +++ b/apps/web/playwright/booking/radioGroupQuestione2e/radio-group-and-short-text-question.e2e.ts @@ -1,10 +1,6 @@ import { test } from "../../lib/fixtures"; import { initialCommonSteps } from "../utils/bookingUtils"; -test.describe.configure({ mode: "parallel" }); - -test.afterEach(({ users }) => users.deleteAll()); - test.describe("Booking With Radio Group Question and Short text question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Radio Group and Short text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/utils/bookingUtils.ts b/apps/web/playwright/booking/utils/bookingUtils.ts index e393e5d11e..cd556635fc 100644 --- a/apps/web/playwright/booking/utils/bookingUtils.ts +++ b/apps/web/playwright/booking/utils/bookingUtils.ts @@ -212,7 +212,10 @@ export const initialCommonSteps = async ( await bookingPage.getByTestId("preview-button").click(); const eventTypePage = await eventtypePromise; - // Select the first available time + while (await bookingPage.getByRole("button", { name: "View next" }).isVisible()) { + await bookingPage.getByRole("button", { name: "View next" }).click(); + } + await eventTypePage.getByTestId("time").first().click(); fillAndConfirmBooking( eventTypePage, @@ -228,6 +231,9 @@ export const initialCommonSteps = async ( }; const rescheduleAndCancel = async (eventTypePage: Page) => { await eventTypePage.getByText("Reschedule").click(); + while (await eventTypePage.getByRole("button", { name: "View next" }).isVisible()) { + await eventTypePage.getByRole("button", { name: "View next" }).click(); + } await eventTypePage.getByTestId("time").first().click(); await eventTypePage.getByPlaceholder(reschedulePlaceholderText).click(); await eventTypePage.getByPlaceholder(reschedulePlaceholderText).fill("Test reschedule");