diff --git a/components/popover/stories/popover.stories.js b/components/popover/stories/popover.stories.js index 0f21879a506..5e9d9cbbfbb 100644 --- a/components/popover/stories/popover.stories.js +++ b/components/popover/stories/popover.stories.js @@ -166,11 +166,12 @@ const ChromaticTipPlacementVariants = (args) => html` content: [`${optionDescription()}`], })} `)} - +
${SourcelessTemplate({ ...args, position: option, + isOpen: true, })}
@@ -188,10 +189,6 @@ Default.args = {}; export const WithTip = (args) => html` ${window.isChromatic() ? ChromaticTipPlacementVariants(args) : Template(args)} `; -WithTip.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - await userEvent.click(canvas.getByRole("button")); -}; WithTip.args = { withTip: true, };