-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(tabs): delay story due to potential timing chromatic diff #6437
Changes from 1 commit
2bd557b
472441f
f83ac11
c6ada75
8a18f06
b503aec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { optionsKnob, select } from "@storybook/addon-knobs"; | ||
import { select } from "@storybook/addon-knobs"; | ||
import { iconNames, storyFilters } from "../../../.storybook/helpers"; | ||
import { placeholderImage } from "../../../.storybook/placeholderImage"; | ||
import { modesDarkDefault } from "../../../.storybook/utils"; | ||
|
@@ -174,3 +174,6 @@ export const TabChilrenWithPercentageHeights = (): string => html` | |
</calcite-tab> | ||
</calcite-tabs> | ||
`; | ||
TabChilrenWithPercentageHeights.parameters = { | ||
chromatic: { delay: 1000 } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sidebar: I think we could extract this delay in a helper module for reuse. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I have it sprinkled around on other stories too. The only thing is I'd rather not delay all stories, only the ones we need to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I meant extracting the delay value, so we would import the same reference. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gotcha. I've been putting different delay values at this point to see what works without eating too much time. But once I figure that out I'll create a const |
||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be spelled
Children
? ☝️There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chilrun
😂 Good catch.