diff --git a/frontend/src/Editor/Components/Modal.jsx b/frontend/src/Editor/Components/Modal.jsx index 7921161d94..f5049664eb 100644 --- a/frontend/src/Editor/Components/Modal.jsx +++ b/frontend/src/Editor/Components/Modal.jsx @@ -116,6 +116,7 @@ export const Modal = function Modal({ setShowModal(true); setExposedVariable('show', true).then(() => fireEvent('onOpen')); }} + data-cy={`${dataCy}-launch-button`} > {triggerButtonLabel ?? 'Show Modal'} @@ -196,11 +197,14 @@ const Component = ({ children, ...restProps }) => { /> )} {!hideTitleBar && ( - - {title} + + + {title} + {!hideCloseButton && ( { e.preventDefault(); @@ -228,7 +232,7 @@ const Component = ({ children, ...restProps }) => { )} )} - + {children}