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 1b0b280
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions examples/bpk-component-tooltip/stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,24 @@ export const OnTheSide = SideExample;
export const WithoutPadding = NoPaddingExample;
export const OnALink = LinkExample;
export const Focus = FocusExample;
export const VisualTest = VisualTestExample;

const VisualExample = VisualTestExample;
export const VisualTest = {
render: VisualExample,
parameters: {
percy: {
waitForTimeout: 30000
}
}
};
export const VisualTestWithZoom = {
render: VisualTest,
render: VisualExample,
args: {
zoomEnabled: true,
},
parameters: {
percy: {
waitForTimeout: 30000
}
}
};

0 comments on commit 1b0b280

Please sign in to comment.