Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Nov 29, 2024
1 parent 86ab9cf commit f26f05b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Header/Header.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const DesktopLightOpen: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
const MenuButton = await canvas.findByRole('button', {
name: 'Features',
name: 'Platform',
});
MenuButton.focus();
await userEvent.keyboard('{enter}');
Expand All @@ -162,7 +162,7 @@ export const DesktopDarkOpen: Story = {
play: async ({ canvasElement }) => {
const canvas = within(canvasElement);
const MenuButton = await canvas.findByRole('button', {
name: 'Features',
name: 'Platform',
});
MenuButton.focus();
await userEvent.keyboard('{enter}');
Expand Down

0 comments on commit f26f05b

Please sign in to comment.