Skip to content

Commit

Permalink
Testing adding timeout for stories to render
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis committed Jun 4, 2024
1 parent 9de3f0a commit dbb5c17
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion examples/bpk-component-tooltip/stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,22 @@ export const OnTheSide = SideExample;
export const WithoutPadding = NoPaddingExample;
export const OnALink = LinkExample;
export const Focus = FocusExample;
export const VisualTest = VisualTestExample;
export const VisualTest = {
render: VisualTestExample,
parameters: {
percy: {
waitForTimeout: 1000
}
}
};
export const VisualTestWithZoom = {
render: VisualTest,
args: {
zoomEnabled: true,
},
parameters: {
percy: {
waitForTimeout: 1000
}
}
};

0 comments on commit dbb5c17

Please sign in to comment.