Skip to content

Commit

Permalink
Fix interaction test
Browse files Browse the repository at this point in the history
  • Loading branch information
domyen authored and MichaelArestad committed Aug 17, 2022
1 parent 6cffc66 commit 126017c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/ui/src/components/sidebar/Menu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const Expanded = () => {
};
Expanded.play = async ({ canvasElement }) => {
const canvas = within(canvasElement);
const menuButton = await canvas.getByRole('button');
const menuButton = await canvas.findByRole('button');
await userEvent.click(menuButton);
};

Expand Down

0 comments on commit 126017c

Please sign in to comment.