Disable perf stories in chromatic (#5597)

Disabled chromatic for performance stories.
This commit is contained in:
Lucas Bordeau
2024-05-27 14:43:39 +02:00
committed by GitHub
parent 56ef8fcff3
commit 113dfba994
3 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,9 @@ const meta: Meta = {
component: RelationFieldDisplay,
argTypes: { value: { control: 'date' } },
args: {},
parameters: {
chromatic: { disableSnapshot: true },
},
};
export default meta;

View File

@ -128,6 +128,9 @@ const meta: Meta = {
component: RecordTableCellFieldContextWrapper,
argTypes: { value: { control: 'date' } },
args: {},
parameters: {
chromatic: { disableSnapshot: true },
},
};
export default meta;

View File

@ -26,6 +26,7 @@ export const getProfilingStory = ({
numberOfTests: numberOfTestsPerRun,
componentName,
warmUpRounds,
chromatic: { disableSnapshot: true },
},
play: async ({ canvasElement }) => {
await findByTestId(