From 0d1f484c92ebfbbf53e896466a94c5da324a2f01 Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Wed, 22 Feb 2023 10:52:49 +0530 Subject: [PATCH] test: multiple organizer address test (#7179) Co-authored-by: Hariom Balhara --- .../components/dialog/EditLocationDialog.tsx | 5 +- .../components/eventtype/EventSetupTab.tsx | 6 +- .../web/components/ui/form/LocationSelect.tsx | 1 + apps/web/pages/event-types/index.tsx | 1 + apps/web/playwright/event-types.e2e.ts | 58 +++++++++++++++++++ 5 files changed, 69 insertions(+), 2 deletions(-) diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsx index c4317816b5..0451721212 100644 --- a/apps/web/components/dialog/EditLocationDialog.tsx +++ b/apps/web/components/dialog/EditLocationDialog.tsx @@ -188,6 +188,7 @@ export const EditLocationDialog = (props: ISetLocationDialog) => { control={locationFormMethods.control} render={() => ( @@ -345,7 +346,9 @@ export const EditLocationDialog = (props: ISetLocationDialog) => { {t("cancel")} - + diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index 7113d6cd95..e9acf623ff 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -248,7 +248,11 @@ export const EventSetupTab = ( )} {validLocations.length > 0 && validLocations.length !== locationOptions.length && (
  • -
  • diff --git a/apps/web/components/ui/form/LocationSelect.tsx b/apps/web/components/ui/form/LocationSelect.tsx index 60b2e838da..22106ab20c 100644 --- a/apps/web/components/ui/form/LocationSelect.tsx +++ b/apps/web/components/ui/form/LocationSelect.tsx @@ -40,6 +40,7 @@ export default function LocationSelect(props: Props name="location" + id="location-select" components={{ Option: (props) => ( diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index eb9e00da31..fa071f23f4 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -374,6 +374,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL