Skip to content

Commit

Permalink
LG-3721 Disable Chromatic for Popover components (#2049)
Browse files Browse the repository at this point in the history
* disables snapshots

* Update GuideCue.story.tsx

* Runs fix

* Update GuideCue.story.tsx

---------

Co-authored-by: Brooke Scarlett Yalof <[email protected]>
  • Loading branch information
TheSonOfThomp and bruugey authored Nov 7, 2023
1 parent 4ae82db commit cb12469
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/guide-cue/src/GuideCue.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const meta: StoryMetaType<any> = {
'onPrimaryButtonClick',
],
},
chromatic: { disableSnapshot: true },
generate: {
storyNames: [
'Standalone',
Expand Down Expand Up @@ -94,9 +95,6 @@ const meta: StoryMetaType<any> = {
);
},
},
chromatic: {
delay: transitionDuration.slowest,
},
},
argTypes: {
darkMode: storybookArgTypes.darkMode,
Expand Down
6 changes: 3 additions & 3 deletions packages/menu/src/Menu.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ const meta: StoryMetaType<typeof Menu> = {
'as',
],
},
chromatic: {
disableSnapshot: true,
},
generate: {
combineArgs: {
darkMode: [false, true],
Expand Down Expand Up @@ -97,9 +100,6 @@ const meta: StoryMetaType<typeof Menu> = {
</div>
),
},
chromatic: {
delay: transitionDuration.default,
},
},
args: {
open: true,
Expand Down
3 changes: 3 additions & 0 deletions packages/split-button/src/SplitButton.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const meta: StoryMetaType<typeof SplitButton> = {
'triggerAriaLabel',
],
},
chromatic: {
disableSnapshot: true,
},
generate: {
storyNames: ['LargeSize', 'DefaultSize', 'SmallSize', 'XSmallSize'],
combineArgs: {
Expand Down
1 change: 1 addition & 0 deletions packages/tooltip/src/Tooltip.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const meta: StoryMetaType<typeof Tooltip> = {
exclude: [...storybookExcludedControlParams, 'trigger'],
},
chromatic: {
disableSnapshot: true,
delay: transitionDuration.slowest,
},
generate: {
Expand Down

0 comments on commit cb12469

Please sign in to comment.