Skip to content

Commit 41da2ab

Browse files
committed
Tests: Increase loading timeout duration on flaky test
1 parent 8a4ab57 commit 41da2ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/core/src/manager/components/sidebar/Menu.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ export const Expanded: Story = {
7979
},
8080
play: async ({ canvasElement }) => {
8181
const canvas = within(canvasElement);
82+
// This story can have significant loading time.
8283
await new Promise((res) => {
83-
setTimeout(res, 500);
84+
setTimeout(res, 1000);
8485
});
8586
const menuButton = await canvas.findByRole('switch');
8687
await userEvent.click(menuButton);

0 commit comments

Comments
 (0)