Skip to content

Commit bbbc703

Browse files
committed
test(AnalyticalTable): disable chromatic snapshots for two more stories
1 parent 562ed7f commit bbbc703

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/main/src/components/AnalyticalTable/AnalyticalTable.stories.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ export const Subcomponents: Story = {
495495
}
496496
};
497497

498-
export const DynamicRowCount: Story = {
498+
export const DynamicRowCount = {
499499
args: { visibleRowCountMode: AnalyticalTableVisibleRowCountMode.Auto, containerHeight: 250 } as unknown,
500500
argTypes: {
501501
containerHeight: {
@@ -507,6 +507,9 @@ export const DynamicRowCount: Story = {
507507
'Select an option to change the height of the surrounding container of the table (in `px`). <br /> __Note__: This is not an actual prop of the table.'
508508
}
509509
},
510+
parameters: {
511+
chromatic: { disableSnapshot: true }
512+
},
510513
render: (args) => {
511514
return (
512515
<div style={{ height: `${args.containerHeight}px` }}>
@@ -602,6 +605,9 @@ export const ResponsiveColumns: Story = {
602605

603606
export const NavigationIndicator: Story = {
604607
args: { withNavigationHighlight: true, selectionMode: AnalyticalTableSelectionMode.MultiSelect, data: dataLarge },
608+
parameters: {
609+
chromatic: { disableSnapshot: true }
610+
},
605611
render: (args) => {
606612
const [selectedRow, setSelectedRow] = useState();
607613
const onRowSelect = (e) => {

0 commit comments

Comments
 (0)