We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e10a43 commit a55771cCopy full SHA for a55771c
1 file changed
packages/lib/src/chip/Chip.stories.tsx
@@ -217,7 +217,8 @@ export const Tooltip: Story = {
217
const chipLabel = await canvas.findByText("Default with tooltip and very long text");
218
await userEvent.hover(chipLabel);
219
220
- await canvas.findByRole("tooltip");
+ const documentCanvas = within(document.body);
221
+ await documentCanvas.findByRole("tooltip");
222
},
223
parameters: { chromatic: { delay: 5000 } },
224
};
0 commit comments