Improve flaky storybook test (#8515)
I don't think that will solve the flaky test but at least it will cleanup the error message to avoid confusion
This commit is contained in:
@ -32,7 +32,7 @@ export const Default: Story = {
|
||||
play: async ({ canvasElement }) => {
|
||||
const canvas = within(canvasElement);
|
||||
|
||||
await canvas.findByText('Companies', undefined, { timeout: 3000 });
|
||||
await canvas.findAllByText('Companies', undefined, { timeout: 3000 });
|
||||
await canvas.findByText('Linkedin');
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user