Skip to content

Commit

Permalink
fix: Finally fix LoadingMessages snapshot not working
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeelaudibert committed Feb 5, 2025
1 parent 4b4cb3e commit 7f3cb5d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/src/scenes/insights/EmptyStates/EmptyStates.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,16 @@ export const FunnelSingleStep: Story = createInsightStory(funnelOneStep as any)

export const LoadingMessages: StoryFn = () => {
return (
<ul>
{LOADING_MESSAGES.map((message) => (
<li key={message}>{message}</li>
))}
</ul>
<div>
<ul>
{LOADING_MESSAGES.map((message) => (
<li key={message}>{message}</li>
))}
</ul>
</div>
)
}
LoadingMessages.parameters = {
testOptions: {
waitForLoadersToDisappear: false,
waitForSelector: undefined, // Unset the default selector or else this won't ever finish running
},
...LoadingMessages.parameters,
testOptions: undefined, // Unset the default selector or else this won't ever finish running
}

0 comments on commit 7f3cb5d

Please sign in to comment.