diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-address-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-address-question.e2e.ts index 866a99fc21..fd5684353f 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-address-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Address Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Multi Select and Address required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-checkbox-group-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-checkbox-group-question.e2e.ts index a700971766..f28700d2f1 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-checkbox-group-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and checkbox group Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Multi Select and checkbox group required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-checkbox-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-checkbox-question.e2e.ts index 148f61526a..85a149e60a 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-checkbox-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and checkbox Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Multi Select and checkbox required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-long-text-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-long-text-question.e2e.ts index 408b97908a..0eca7726d7 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-long-text-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Long text Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Multi Select and Long text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-multiple-emails-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-multiple-emails-question.e2e.ts index a1d4580d62..7d309df0e2 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-multiple-emails-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Multi email Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Multi Select and Multi email required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-number-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-number-question.e2e.ts index 8ef0d0e8ce..ccfce0620a 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-number-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Number Question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Multi Select and Number required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-phone-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-phone-question.e2e.ts index 81e8cf4d14..12f40ecaff 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-phone-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Phone Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Multi Select and multiselect text required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-radio-group-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-radio-group-question.e2e.ts index 4613871ff5..3f0f8f9cde 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-radio-group-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Radio group Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Multi Select and Radio group required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-select-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-select-question.e2e.ts index 54362e858b..7bb87c1204 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-select-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and select Question", () => { const bookingOptions = { hasPlaceholder: false, isRequired: true }; test("Multi Select and select required", async ({ page, users }) => { diff --git a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-short-text-question.e2e.ts b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-short-text-question.e2e.ts index 0672956357..aca281c0bc 100644 --- a/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-and-short-text-question.e2e.ts +++ b/apps/web/playwright/booking/multiSelectQuestione2e/multi-select-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 Multi Select Question and Short text question", () => { const bookingOptions = { hasPlaceholder: true, isRequired: true }; test("Multi Select and Short text required", async ({ page, users }) => { 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/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");