-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Add visual regression tests (#1081)
- Loading branch information
1 parent
55daf6d
commit 31d3633
Showing
95 changed files
with
1,282 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/grid/x-grid-data-generator/src/commodities.columns.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
// import './style/real-data-stories.css'; | ||
import { | ||
generateTotalPrice, | ||
randomCommodity, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
// import './style/real-data-stories.css'; | ||
import { | ||
generateName, | ||
randomAvatar, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
packages/grid/x-grid-data-generator/src/style/real-data-stories.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-92.8 KB
...on/__image_snapshots__/components-test-ts-components-override-footer-1-snap.png
Binary file not shown.
Binary file removed
BIN
-88.4 KB
...age_snapshots__/components-test-ts-components-override-header-footer-1-snap.png
Binary file not shown.
Binary file removed
BIN
-19.7 KB
...ion/__image_snapshots__/components-test-ts-components-override-icons-1-snap.png
Binary file not shown.
Binary file removed
BIN
-19.8 KB
...n/__image_snapshots__/components-test-ts-components-override-loading-1-snap.png
Binary file not shown.
Binary file removed
BIN
-12.2 KB
...n/__image_snapshots__/components-test-ts-components-override-no-rows-1-snap.png
Binary file not shown.
Binary file removed
BIN
-91.1 KB
..._image_snapshots__/components-test-ts-components-override-pagination-1-snap.png
Binary file not shown.
Binary file removed
BIN
-47 KB
...ge_snapshots__/components-test-ts-components-override-styled-columns-1-snap.png
Binary file not shown.
Binary file removed
BIN
-19.7 KB
...ge_snapshots__/components-test-ts-components-override-styled-columns-2-snap.png
Binary file not shown.
Binary file removed
BIN
-77 KB
...ots__/keyboard-test-ts-keyboard-navigation-ctrl-a-to-select-all-rows-1-snap.png
Binary file not shown.
Binary file removed
BIN
-78.8 KB
...yboard-test-ts-keyboard-navigation-shift-space-arrows-to-select-rows-1-snap.png
Binary file not shown.
Binary file removed
BIN
-79 KB
...yboard-test-ts-keyboard-navigation-shift-space-arrows-to-select-rows-2-snap.png
Binary file not shown.
Binary file removed
BIN
-88.5 KB
...-snapshot-test-story-x-grid-tests-columns-column-description-tooltip-1-snap.png
Binary file not shown.
Binary file removed
BIN
-49.5 KB
...es-test-ts-snapshot-test-story-x-grid-tests-columns-header-component-1-snap.png
Binary file not shown.
Binary file removed
BIN
-67.4 KB
...ries-test-ts-snapshot-test-story-x-grid-tests-columns-hidden-columns-1-snap.png
Binary file not shown.
Binary file removed
BIN
-68.1 KB
...es-test-ts-snapshot-test-story-x-grid-tests-columns-new-column-types-1-snap.png
Binary file not shown.
Binary file removed
BIN
-77.4 KB
...ies-test-ts-snapshot-test-story-x-grid-tests-columns-small-col-sizes-1-snap.png
Binary file not shown.
Binary file removed
BIN
-41.6 KB
...-test-ts-snapshot-test-story-x-grid-tests-columns-update-columns-btn-1-snap.png
Binary file not shown.
Binary file removed
BIN
-37.1 KB
...-test-ts-snapshot-test-story-x-grid-tests-columns-update-columns-btn-2-snap.png
Binary file not shown.
Binary file removed
BIN
-27.5 KB
...est-ts-snapshot-test-story-x-grid-tests-columns-very-small-col-sizes-1-snap.png
Binary file not shown.
Binary file removed
BIN
-89 KB
...stories-test-ts-snapshot-test-story-x-grid-tests-dataset-both-scroll-1-snap.png
Binary file not shown.
Binary file removed
BIN
-91 KB
...ot-test-story-x-grid-tests-dataset-both-scroll-no-extend-and-borders-1-snap.png
Binary file not shown.
Binary file removed
BIN
-88.9 KB
...ies-test-ts-snapshot-test-story-x-grid-tests-dataset-grid-100-by-100-1-snap.png
Binary file not shown.
Binary file removed
BIN
-32.7 KB
...tories-test-ts-snapshot-test-story-x-grid-tests-dataset-grid-20-by-2-1-snap.png
Binary file not shown.
Binary file removed
BIN
-88.9 KB
...s-test-ts-snapshot-test-story-x-grid-tests-dataset-horizontal-scroll-1-snap.png
Binary file not shown.
Binary file removed
BIN
-13.7 KB
...tories-test-ts-snapshot-test-story-x-grid-tests-dataset-loading-rows-1-snap.png
Binary file not shown.
Binary file removed
BIN
-13.6 KB
...ts-snapshot-test-story-x-grid-tests-dataset-loading-rows-auto-height-1-snap.png
Diff not rendered.
Binary file removed
BIN
-14.5 KB
...tic-stories-test-ts-snapshot-test-story-x-grid-tests-dataset-no-rows-1-snap.png
Diff not rendered.
Binary file removed
BIN
-14.3 KB
...test-ts-snapshot-test-story-x-grid-tests-dataset-no-rows-auto-height-1-snap.png
Diff not rendered.
Binary file removed
BIN
-9.67 KB
...ies-test-ts-snapshot-test-story-x-grid-tests-dataset-no-rows-no-cols-1-snap.png
Diff not rendered.
Binary file removed
BIN
-9.63 KB
...snapshot-test-story-x-grid-tests-dataset-no-rows-no-cols-auto-height-1-snap.png
Diff not rendered.
Binary file removed
BIN
-32.7 KB
...ies-test-ts-snapshot-test-story-x-grid-tests-dataset-vertical-scroll-1-snap.png
Diff not rendered.
Binary file removed
BIN
-92 KB
...s-test-ts-snapshot-test-story-x-grid-tests-options-auto-height-large-1-snap.png
Diff not rendered.
Binary file removed
BIN
-48.8 KB
...s-test-ts-snapshot-test-story-x-grid-tests-options-auto-height-small-1-snap.png
Diff not rendered.
Binary file removed
BIN
-32.9 KB
...s-test-ts-snapshot-test-story-x-grid-tests-options-cell-right-border-1-snap.png
Diff not rendered.
Binary file removed
BIN
-32.7 KB
...test-ts-snapshot-test-story-x-grid-tests-options-column-right-border-1-snap.png
Diff not rendered.
Binary file removed
BIN
-32.8 KB
...ories-test-ts-snapshot-test-story-x-grid-tests-options-no-row-extend-1-snap.png
Diff not rendered.
Binary file removed
BIN
-33.1 KB
...s-snapshot-test-story-x-grid-tests-options-no-row-extend-cell-border-1-snap.png
Diff not rendered.
Binary file removed
BIN
-50.9 KB
...-test-ts-snapshot-test-story-x-grid-tests-pagination-auto-pagination-1-snap.png
Diff not rendered.
Binary file removed
BIN
-89.1 KB
...est-ts-snapshot-test-story-x-grid-tests-pagination-hidden-pagination-1-snap.png
Diff not rendered.
Binary file removed
BIN
-89.1 KB
...est-ts-snapshot-test-story-x-grid-tests-pagination-hidden-pagination-2-snap.png
Diff not rendered.
Binary file removed
BIN
-91.5 KB
...es-test-ts-snapshot-test-story-x-grid-tests-pagination-page-size-100-1-snap.png
Diff not rendered.
Binary file removed
BIN
-96.8 KB
...-ts-snapshot-test-story-x-grid-tests-pagination-pagination-api-tests-1-snap.png
Diff not rendered.
Binary file removed
BIN
-91.5 KB
...st-ts-snapshot-test-story-x-grid-tests-pagination-pagination-default-1-snap.png
Diff not rendered.
Binary file removed
BIN
-46.3 KB
...test-ts-snapshot-test-story-x-grid-tests-resize-resize-large-dataset-1-snap.png
Diff not rendered.
Binary file removed
BIN
-24.7 KB
...test-ts-snapshot-test-story-x-grid-tests-resize-resize-small-dataset-1-snap.png
Diff not rendered.
Binary file removed
BIN
-50.7 KB
...-ts-snapshot-test-story-x-grid-tests-selection-api-pre-selected-rows-1-snap.png
Diff not rendered.
Binary file removed
BIN
-92.8 KB
...-story-x-grid-tests-selection-multiple-select-with-checkbox-no-click-1-snap.png
Diff not rendered.
Binary file removed
BIN
-42.1 KB
...test-ts-snapshot-test-story-x-grid-tests-sorting-api-multiple-sorted-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.7 KB
...s-test-ts-snapshot-test-story-x-grid-tests-sorting-api-single-sorted-1-snap.png
Diff not rendered.
Binary file removed
BIN
-45.8 KB
...s-test-ts-snapshot-test-story-x-grid-tests-sorting-custom-comparator-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.7 KB
...es-test-ts-snapshot-test-story-x-grid-tests-sorting-date-sorting-asc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.7 KB
...s-test-ts-snapshot-test-story-x-grid-tests-sorting-date-sorting-desc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.8 KB
...st-ts-snapshot-test-story-x-grid-tests-sorting-date-time-sorting-asc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.8 KB
...t-ts-snapshot-test-story-x-grid-tests-sorting-date-time-sorting-desc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-42.1 KB
...-ts-snapshot-test-story-x-grid-tests-sorting-multiple-and-sort-index-1-snap.png
Diff not rendered.
Binary file removed
BIN
-42.2 KB
...es-test-ts-snapshot-test-story-x-grid-tests-sorting-multiple-sorting-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.7 KB
...-test-ts-snapshot-test-story-x-grid-tests-sorting-number-sorting-asc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.8 KB
...test-ts-snapshot-test-story-x-grid-tests-sorting-number-sorting-desc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-42.1 KB
...snapshot-test-story-x-grid-tests-sorting-sort-model-options-multiple-1-snap.png
Diff not rendered.
Binary file removed
BIN
-49 KB
...s-test-ts-snapshot-test-story-x-grid-tests-sorting-sorted-events-api-1-snap.png
Diff not rendered.
Binary file removed
BIN
-49 KB
...st-ts-snapshot-test-story-x-grid-tests-sorting-sorted-events-options-1-snap.png
Diff not rendered.
Binary file removed
BIN
-46.6 KB
...t-ts-snapshot-test-story-x-grid-tests-sorting-sorting-with-formatter-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.7 KB
...-test-ts-snapshot-test-story-x-grid-tests-sorting-string-sorting-asc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-41.8 KB
...test-ts-snapshot-test-story-x-grid-tests-sorting-string-sorting-desc-1-snap.png
Diff not rendered.
Binary file removed
BIN
-45.5 KB
...test-ts-snapshot-test-story-x-grid-tests-sorting-unsortable-last-col-1-snap.png
Diff not rendered.
Binary file removed
BIN
-80.5 KB
...test-ts-snapshot-test-story-x-grid-tests-styling-big-rows-and-header-1-snap.png
Diff not rendered.
Binary file removed
BIN
-46.1 KB
...s-test-ts-snapshot-test-story-x-grid-tests-styling-column-cell-class-1-snap.png
Diff not rendered.
Binary file removed
BIN
-48.7 KB
...-ts-snapshot-test-story-x-grid-tests-styling-column-cell-class-rules-1-snap.png
Diff not rendered.
Binary file removed
BIN
-43.9 KB
...est-ts-snapshot-test-story-x-grid-tests-styling-column-cell-renderer-1-snap.png
Diff not rendered.
Binary file removed
BIN
-45.7 KB
...test-ts-snapshot-test-story-x-grid-tests-styling-column-header-class-1-snap.png
Diff not rendered.
Binary file removed
BIN
-163 KB
...tatic-stories-test-ts-snapshot-test-story-x-grid-tests-styling-small-1-snap.png
Diff not rendered.
Binary file removed
BIN
-89 KB
...tatic-stories-test-ts-snapshot-test-story-x-grid-tests-styling-unset-1-snap.png
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.