Skip to content

Commit de32596

Browse files
lucasbordeauWeiko
authored andcommitted
Disable perf stories in chromatic (#5597)
Disabled chromatic for performance stories.
1 parent fcaf65f commit de32596

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

packages/twenty-front/src/modules/object-record/record-field/meta-types/display/components/__stories__/perf/RelationFieldDisplay.perf.stories.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ const meta: Meta = {
7070
component: RelationFieldDisplay,
7171
argTypes: { value: { control: 'date' } },
7272
args: {},
73+
parameters: {
74+
chromatic: { disableSnapshot: true },
75+
},
7376
};
7477

7578
export default meta;

packages/twenty-front/src/modules/object-record/record-table/components/__stories__/perf/RecordTableCell.perf.stories.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ const meta: Meta = {
128128
component: RecordTableCellFieldContextWrapper,
129129
argTypes: { value: { control: 'date' } },
130130
args: {},
131+
parameters: {
132+
chromatic: { disableSnapshot: true },
133+
},
131134
};
132135

133136
export default meta;

packages/twenty-front/src/testing/profiling/utils/getProfilingStory.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const getProfilingStory = ({
2626
numberOfTests: numberOfTestsPerRun,
2727
componentName,
2828
warmUpRounds,
29+
chromatic: { disableSnapshot: true },
2930
},
3031
play: async ({ canvasElement }) => {
3132
await findByTestId(

0 commit comments

Comments
 (0)