Skip to content

Scheduling infrastructure for absolutely everyone.

Fixed test (#7572)

Alex van Andel1b468b9ae7f0
diff --git a/apps/web/playwright/manage-booking-questions.e2e.ts b/apps/web/playwright/manage-booking-questions.e2e.ts
index 9fd6ae42d86..ba55fefdfb2 100644
--- a/apps/web/playwright/manage-booking-questions.e2e.ts
+++ b/apps/web/playwright/manage-booking-questions.e2e.ts
@@ -106,9 +106,18 @@ test.describe("Manage Booking Questions", () => {
const payload = (request.body as any).payload as any;
expect(payload.responses).toMatchObject({
- name: "Booker",
- email: "[email protected]",
- how_are_you: "I am great!",
+ email: {
+ label: "email_address",
+ value: "[email protected]",
+ },
+ how_are_you: {
+ label: "How are you?",
+ value: "I am great!",
+ },
+ name: {
+ label: "your_name",
+ value: "Booker",
+ },
});
expect(payload.location).toBe("integrations:daily");
@@ -119,7 +128,10 @@ test.describe("Manage Booking Questions", () => {
});
expect(payload.userFieldsResponses).toMatchObject({
- how_are_you: "I am great!",
+ how_are_you: {
+ label: "How are you?",
+ value: "I am great!",
+ },
});
});
});
@@ -233,9 +245,18 @@ async function runTestStepsCommonForTeamAndUserEventType(
const payload = (request.body as any).payload as any;
expect(payload.responses).toMatchObject({
- name: "Booker",
- email: "[email protected]",
- how_are_you: "I am great!",
+ email: {
+ label: "email_address",
+ value: "[email protected]",
+ },
+ how_are_you: {
+ label: "How are you?",
+ value: "I am great!",
+ },
+ name: {
+ label: "your_name",
+ value: "Booker",
+ },
});
expect(payload.location).toBe("integrations:daily");
@@ -246,7 +267,10 @@ async function runTestStepsCommonForTeamAndUserEventType(
});
expect(payload.userFieldsResponses).toMatchObject({
- how_are_you: "I am great!",
+ how_are_you: {
+ label: "How are you?",
+ value: "I am great!",
+ },
});
});
});