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, component: RelationFieldDisplay,
argTypes: { value: { control: 'date' } }, argTypes: { value: { control: 'date' } },
args: {}, args: {},
parameters: {
chromatic: { disableSnapshot: true },
},
}; };
export default meta; export default meta;

View File

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

View File

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