From 4ebd52c9af3158fe567dbed35fbd7a8bb4cac69a Mon Sep 17 00:00:00 2001 From: "gitstart-app[bot]" <57568882+gitstart-app[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 15:00:19 -0300 Subject: [PATCH] test: Create unit tests for the questions (teste2e-multiSelectQuestion) (#11569) * Remove unnecessary changes * add changes * Requested changes * Requested changes * FIx failing tests * FIx failing tests * Update regularBookings.ts * FIx failing tests * Refactor * add unit tests for all questions --------- Co-authored-by: gitstart-calcom Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com> Co-authored-by: gitstart-calcom Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> --- .../features/form-builder/FormBuilder.tsx | 1 + .../all-questions/tests/allQuestions.test.tsx | 76 +++++++++++++ .../components/all-questions/tests/utils.ts | 106 ++++++++++++++++++ 3 files changed, 183 insertions(+) create mode 100644 packages/ui/components/all-questions/tests/allQuestions.test.tsx create mode 100644 packages/ui/components/all-questions/tests/utils.ts diff --git a/packages/features/form-builder/FormBuilder.tsx b/packages/features/form-builder/FormBuilder.tsx index 679bf456b3..230b56743c 100644 --- a/packages/features/form-builder/FormBuilder.tsx +++ b/packages/features/form-builder/FormBuilder.tsx @@ -213,6 +213,7 @@ export const FormBuilder = function FormBuilder({ )} {isUserField && (