Skip to content

Commit

Permalink
test(tabs): delay story due to potential timing chromatic diff (#6437)
Browse files Browse the repository at this point in the history
**Related Issue:** #5284

## Summary
Adds a delay to the story because it registered a chromatic diff in what
seems like a timing issue

https://www.chromatic.com/test?appId=6266d45509d7eb004aa254fb&id=63e30231eac9ea4af6de885d
  • Loading branch information
benelan authored Mar 8, 2023
1 parent 16feb61 commit f0dd928
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/tabs/tabs.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const disabledTabsAndMediumIconsForLargeTabsTitle_TestOnly = (): string =
</calcite-tabs>
`;

export const TabChilrenWithPercentageHeights = (): string => html`
export const TabChildrenWithPercentageHeights = (): string => html`
<calcite-tabs style="height: 250px;">
<calcite-tab-nav slot="title-group">
<calcite-tab-title selected>Boats</calcite-tab-title>
Expand All @@ -174,3 +174,6 @@ export const TabChilrenWithPercentageHeights = (): string => html`
</calcite-tab>
</calcite-tabs>
`;
TabChildrenWithPercentageHeights.parameters = {
chromatic: { delay: 1000 }
};

0 comments on commit f0dd928

Please sign in to comment.