Skip to content

Commit

Permalink
Disable perf stories in chromatic (twentyhq#5597)
Browse files Browse the repository at this point in the history
Disabled chromatic for performance stories.
  • Loading branch information
lucasbordeau committed May 27, 2024
1 parent 56ef8fc commit 113dfba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ const meta: Meta = {
component: RelationFieldDisplay,
argTypes: { value: { control: 'date' } },
args: {},
parameters: {
chromatic: { disableSnapshot: true },
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ const meta: Meta = {
component: RecordTableCellFieldContextWrapper,
argTypes: { value: { control: 'date' } },
args: {},
parameters: {
chromatic: { disableSnapshot: true },
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const getProfilingStory = ({
numberOfTests: numberOfTestsPerRun,
componentName,
warmUpRounds,
chromatic: { disableSnapshot: true },
},
play: async ({ canvasElement }) => {
await findByTestId(
Expand Down

0 comments on commit 113dfba

Please sign in to comment.