Skip to content

Commit

Permalink
add delay to chromatic snapshots (#2599)
Browse files Browse the repository at this point in the history
  • Loading branch information
alycrys committed Oct 17, 2023
1 parent ff87655 commit b3d9033
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const CheckboxSelection = (props: AgGridReactProps) => {
};

CheckboxSelection.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default CheckboxSelection;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/Coloration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Coloration = (props: AgGridReactProps) => {
};

Coloration.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default Coloration;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/ColumnGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const columnsWithGrouping = (
];

ColumnGroup.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default ColumnGroup;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/ColumnSpanning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ColumnSpanning = (props: AgGridReactProps) => {
};

ColumnSpanning.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default ColumnSpanning;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const ContextMenu = (props: AgGridReactProps) => {
};

ContextMenu.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default ContextMenu;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/CustomFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const CustomFilter = (props: AgGridReactProps) => {
};

CustomFilter.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default CustomFilter;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/Default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Default = (props: AgGridReactProps) => {
};

Default.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default Default;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/DragRowOrder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const DragRowOrder = (props: AgGridReactProps) => {
};

DragRowOrder.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default DragRowOrder;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/FloatingFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const FloatingFilter = (props: AgGridReactProps) => {
};

FloatingFilter.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default FloatingFilter;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/HDCompact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const HDCompact = (props: AgGridReactProps) => {
};

HDCompact.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default HDCompact;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/HDCompactDark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const HDCompactDark = (props: AgGridReactProps) => {
};

HDCompactDark.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default HDCompactDark;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const Icons = () => {
};

Icons.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default Icons;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/InfiniteScroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const infiniteScrollComponents = {
};

InfiniteScroll.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default InfiniteScroll;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/LoadingOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const LoadingOverlay = (props: AgGridReactProps) => {
};

LoadingOverlay.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default LoadingOverlay;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/MasterDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const MasterDetail = (props: AgGridReactProps) => {
};

MasterDetail.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default MasterDetail;
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const MasterDetailDark = (props: AgGridReactProps) => {
};

MasterDetailDark.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default MasterDetailDark;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/NoDataOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const NoDataOverlay = (props: AgGridReactProps) => {
};

NoDataOverlay.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default NoDataOverlay;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Pagination = () => (
);

Pagination.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default Pagination;
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const ParentChildRows = (props: AgGridReactProps) => {
};

ParentChildRows.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default ParentChildRows;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/PinnedRows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ export default function PinnedRows(props: PinnedRowsExampleProps) {
}

PinnedRows.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/RowGroupPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const RowGroupPanel = (props: AgGridReactProps) => {
};

RowGroupPanel.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default RowGroupPanel;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/RowGrouping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const RowGrouping = (props: AgGridReactProps) => {
};

RowGrouping.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default RowGrouping;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/StatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const StatusBar = (props: AgGridReactProps) => {
};

StatusBar.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default StatusBar;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/StatusBarDark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const StatusBar = (props: AgGridReactProps) => {
};

StatusBar.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default StatusBar;
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const VariantSecondary = (props: AgGridReactProps) => {
};

VariantSecondary.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default VariantSecondary;
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const VariantZebraDark = (props: AgGridReactProps) => {
};

VariantZebraDark.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default VariantZebraDark;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/VariantZebra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const VariantZebra = (props: AgGridReactProps) => {
};

VariantZebra.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default VariantZebra;
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const VariantZebraDark = (props: AgGridReactProps) => {
};

VariantZebraDark.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default VariantZebraDark;
2 changes: 1 addition & 1 deletion packages/ag-grid-theme/stories/examples/WrappedHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const WrappedHeader = (props: AgGridReactProps) => {
};

WrappedHeader.parameters = {
chromatic: { disableSnapshot: false },
chromatic: { disableSnapshot: false, delay: 200 },
};

export default WrappedHeader;

0 comments on commit b3d9033

Please sign in to comment.