From f26f05beff2a8d776beddde1d5d48092de1147bf Mon Sep 17 00:00:00 2001 From: winkerVSbecks Date: Thu, 28 Nov 2024 21:10:27 -0500 Subject: [PATCH] fix tests --- src/Header/Header.stories.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Header/Header.stories.tsx b/src/Header/Header.stories.tsx index a239cf2..ad0d517 100644 --- a/src/Header/Header.stories.tsx +++ b/src/Header/Header.stories.tsx @@ -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}'); @@ -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}');