-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(Button): auto generate visual test #1623
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
6668f37
test(Button): generate visual tests
itwillwork b67a6ee
test(Button): remove regression snapshots
itwillwork 67a299a
test(Button): fix typecheck
itwillwork 1f69dda
test(Button): unuse regression
itwillwork 9568734
test(Button): update Buttons screenshots
itwillwork 09a9879
test(Button): code review
itwillwork 3bef665
test(Label): code review
itwillwork 863c7b8
test(Label): code review
itwillwork d472184
test(Label): skip ShowcaseStory snapshot
itwillwork 87aad91
Merge branch 'main' into auto-generate-visual-test
itwillwork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
+285 Bytes
(100%)
...isual.test.tsx-snapshots/Button-render-custom-Icon-size-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-139 Bytes
(100%)
...sual.test.tsx-snapshots/Button-render-custom-Icon-size-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...n.visual.test.tsx-snapshots/Button-render-story-Default-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-15 Bytes
(99%)
....visual.test.tsx-snapshots/Button-render-story-Default-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
....visual.test.tsx-snapshots/Button-render-story-Disabled-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...visual.test.tsx-snapshots/Button-render-story-Disabled-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7 Bytes
(100%)
...tton.visual.test.tsx-snapshots/Button-render-story-Icon-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-22 Bytes
(100%)
...ton.visual.test.tsx-snapshots/Button-render-story-Icon-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...isual.test.tsx-snapshots/Button-render-story-InsideText-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16 Bytes
(100%)
...sual.test.tsx-snapshots/Button-render-story-InsideText-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...tton.visual.test.tsx-snapshots/Button-render-story-Link-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(100%)
...ton.visual.test.tsx-snapshots/Button-render-story-Link-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-13 Bytes
(100%)
...n.visual.test.tsx-snapshots/Button-render-story-Loading-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16 Bytes
(100%)
....visual.test.tsx-snapshots/Button-render-story-Loading-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(100%)
...utton.visual.test.tsx-snapshots/Button-render-story-Pin-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
...tton.visual.test.tsx-snapshots/Button-render-story-Pin-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
....visual.test.tsx-snapshots/Button-render-story-Selected-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+0 Bytes
(100%)
...visual.test.tsx-snapshots/Button-render-story-Selected-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-13 Bytes
(100%)
...tton.visual.test.tsx-snapshots/Button-render-story-Size-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-25 Bytes
(100%)
...ton.visual.test.tsx-snapshots/Button-render-story-Size-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-987 Bytes
(100%)
...tton.visual.test.tsx-snapshots/Button-render-story-View-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-40 Bytes
(100%)
...Button.visual.test.tsx-snapshots/Button-render-story-View-dark-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+904 Bytes
(100%)
...ton.visual.test.tsx-snapshots/Button-render-story-View-light-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.26 KB
(100%)
...utton.visual.test.tsx-snapshots/Button-render-story-View-light-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(100%)
...ton.visual.test.tsx-snapshots/Button-render-story-Width-dark-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-13 Bytes
(100%)
...on.visual.test.tsx-snapshots/Button-render-story-Width-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.3 KB
...apshots__/Button.visual.test.tsx-snapshots/Button-smoke-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.98 KB
...snapshots__/Button.visual.test.tsx-snapshots/Button-smoke-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.96 KB
...isual.test.tsx-snapshots/Button-smoke-disabled-disabled-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.76 KB
....visual.test.tsx-snapshots/Button-smoke-disabled-disabled-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.9 KB
...sual.test.tsx-snapshots/Button-smoke-disabled-disabled-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.64 KB
...visual.test.tsx-snapshots/Button-smoke-disabled-disabled-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
...pshots__/Button.visual.test.tsx-snapshots/Button-smoke-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.77 KB
...napshots__/Button.visual.test.tsx-snapshots/Button-smoke-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.62 KB
....visual.test.tsx-snapshots/Button-smoke-loading-loading-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.29 KB
...on.visual.test.tsx-snapshots/Button-smoke-loading-loading-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.46 KB
...visual.test.tsx-snapshots/Button-smoke-loading-loading-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.16 KB
...n.visual.test.tsx-snapshots/Button-smoke-loading-loading-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.86 KB
....visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.61 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.49 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-brick-brick-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.13 KB
...isual.test.tsx-snapshots/Button-smoke-pin-brick-circle-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.82 KB
....visual.test.tsx-snapshots/Button-smoke-pin-brick-circle-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.86 KB
....visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.61 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.49 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-brick-clear-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.09 KB
....visual.test.tsx-snapshots/Button-smoke-pin-brick-round-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.78 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.92 KB
...visual.test.tsx-snapshots/Button-smoke-pin-brick-round-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.65 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-brick-round-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.07 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.11 KB
...isual.test.tsx-snapshots/Button-smoke-pin-circle-brick-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.83 KB
....visual.test.tsx-snapshots/Button-smoke-pin-circle-brick-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.75 KB
...isual.test.tsx-snapshots/Button-smoke-pin-circle-circle-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.45 KB
....visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.4 KB
...sual.test.tsx-snapshots/Button-smoke-pin-circle-circle-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.05 KB
...visual.test.tsx-snapshots/Button-smoke-pin-circle-circle-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.07 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.11 KB
...isual.test.tsx-snapshots/Button-smoke-pin-circle-clear-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.83 KB
....visual.test.tsx-snapshots/Button-smoke-pin-circle-clear-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.86 KB
....visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.61 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.49 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-clear-brick-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.13 KB
...isual.test.tsx-snapshots/Button-smoke-pin-clear-circle-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.82 KB
....visual.test.tsx-snapshots/Button-smoke-pin-clear-circle-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.86 KB
....visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.61 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.49 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-clear-clear-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.09 KB
....visual.test.tsx-snapshots/Button-smoke-pin-clear-round-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.78 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.92 KB
...visual.test.tsx-snapshots/Button-smoke-pin-clear-round-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.65 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-clear-round-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.08 KB
....visual.test.tsx-snapshots/Button-smoke-pin-round-brick-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.82 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.92 KB
...visual.test.tsx-snapshots/Button-smoke-pin-round-brick-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.68 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-round-brick-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.08 KB
....visual.test.tsx-snapshots/Button-smoke-pin-round-clear-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.82 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.92 KB
...visual.test.tsx-snapshots/Button-smoke-pin-round-clear-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.68 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-round-clear-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.3 KB
....visual.test.tsx-snapshots/Button-smoke-pin-round-round-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.98 KB
...on.visual.test.tsx-snapshots/Button-smoke-pin-round-round-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
...visual.test.tsx-snapshots/Button-smoke-pin-round-round-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.77 KB
...n.visual.test.tsx-snapshots/Button-smoke-pin-round-round-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.28 KB
...isual.test.tsx-snapshots/Button-smoke-selected-selected-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.03 KB
....visual.test.tsx-snapshots/Button-smoke-selected-selected-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.12 KB
...sual.test.tsx-snapshots/Button-smoke-selected-selected-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.91 KB
...visual.test.tsx-snapshots/Button-smoke-selected-selected-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.49 KB
...__/Button.visual.test.tsx-snapshots/Button-smoke-size-l-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.22 KB
...ts__/Button.visual.test.tsx-snapshots/Button-smoke-size-l-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.22 KB
..._/Button.visual.test.tsx-snapshots/Button-smoke-size-l-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.95 KB
...s__/Button.visual.test.tsx-snapshots/Button-smoke-size-l-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.3 KB
...__/Button.visual.test.tsx-snapshots/Button-smoke-size-m-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.98 KB
...ts__/Button.visual.test.tsx-snapshots/Button-smoke-size-m-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
..._/Button.visual.test.tsx-snapshots/Button-smoke-size-m-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.77 KB
...s__/Button.visual.test.tsx-snapshots/Button-smoke-size-m-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.17 KB
...__/Button.visual.test.tsx-snapshots/Button-smoke-size-s-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.83 KB
...ts__/Button.visual.test.tsx-snapshots/Button-smoke-size-s-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.96 KB
..._/Button.visual.test.tsx-snapshots/Button-smoke-size-s-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.66 KB
...s__/Button.visual.test.tsx-snapshots/Button-smoke-size-s-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.91 KB
..._/Button.visual.test.tsx-snapshots/Button-smoke-size-xl-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.6 KB
...s__/Button.visual.test.tsx-snapshots/Button-smoke-size-xl-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.66 KB
.../Button.visual.test.tsx-snapshots/Button-smoke-size-xl-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.3 KB
...__/Button.visual.test.tsx-snapshots/Button-smoke-size-xl-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.97 KB
..._/Button.visual.test.tsx-snapshots/Button-smoke-size-xs-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.73 KB
...s__/Button.visual.test.tsx-snapshots/Button-smoke-size-xs-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.81 KB
.../Button.visual.test.tsx-snapshots/Button-smoke-size-xs-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.55 KB
...__/Button.visual.test.tsx-snapshots/Button-smoke-size-xs-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...tton.visual.test.tsx-snapshots/Button-smoke-view-action-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.08 KB
...Button.visual.test.tsx-snapshots/Button-smoke-view-action-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.22 KB
...ton.visual.test.tsx-snapshots/Button-smoke-view-action-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.96 KB
...utton.visual.test.tsx-snapshots/Button-smoke-view-action-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.8 KB
...visual.test.tsx-snapshots/Button-smoke-view-flat-action-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.58 KB
...n.visual.test.tsx-snapshots/Button-smoke-view-flat-action-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...isual.test.tsx-snapshots/Button-smoke-view-flat-action-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.54 KB
....visual.test.tsx-snapshots/Button-smoke-view-flat-action-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.81 KB
...sual.test.tsx-snapshots/Button-smoke-view-flat-contrast-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.57 KB
...visual.test.tsx-snapshots/Button-smoke-view-flat-contrast-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+458 Bytes
...ual.test.tsx-snapshots/Button-smoke-view-flat-contrast-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+413 Bytes
...isual.test.tsx-snapshots/Button-smoke-view-flat-contrast-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.71 KB
...visual.test.tsx-snapshots/Button-smoke-view-flat-danger-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.52 KB
...n.visual.test.tsx-snapshots/Button-smoke-view-flat-danger-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.73 KB
...isual.test.tsx-snapshots/Button-smoke-view-flat-danger-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.51 KB
....visual.test.tsx-snapshots/Button-smoke-view-flat-danger-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.81 KB
...Button.visual.test.tsx-snapshots/Button-smoke-view-flat-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.57 KB
..._/Button.visual.test.tsx-snapshots/Button-smoke-view-flat-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...n.visual.test.tsx-snapshots/Button-smoke-view-flat-info-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.54 KB
...ton.visual.test.tsx-snapshots/Button-smoke-view-flat-info-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.7 KB
....visual.test.tsx-snapshots/Button-smoke-view-flat-info-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.5 KB
...on.visual.test.tsx-snapshots/Button-smoke-view-flat-info-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.73 KB
...utton.visual.test.tsx-snapshots/Button-smoke-view-flat-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.48 KB
.../Button.visual.test.tsx-snapshots/Button-smoke-view-flat-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.71 KB
...ual.test.tsx-snapshots/Button-smoke-view-flat-secondary-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.51 KB
...isual.test.tsx-snapshots/Button-smoke-view-flat-secondary-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.65 KB
...al.test.tsx-snapshots/Button-smoke-view-flat-secondary-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.46 KB
...sual.test.tsx-snapshots/Button-smoke-view-flat-secondary-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...isual.test.tsx-snapshots/Button-smoke-view-flat-success-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.54 KB
....visual.test.tsx-snapshots/Button-smoke-view-flat-success-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.76 KB
...sual.test.tsx-snapshots/Button-smoke-view-flat-success-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.54 KB
...visual.test.tsx-snapshots/Button-smoke-view-flat-success-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.76 KB
...isual.test.tsx-snapshots/Button-smoke-view-flat-utility-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.57 KB
....visual.test.tsx-snapshots/Button-smoke-view-flat-utility-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...sual.test.tsx-snapshots/Button-smoke-view-flat-utility-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.54 KB
...visual.test.tsx-snapshots/Button-smoke-view-flat-utility-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.78 KB
...isual.test.tsx-snapshots/Button-smoke-view-flat-warning-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.57 KB
....visual.test.tsx-snapshots/Button-smoke-view-flat-warning-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.74 KB
...sual.test.tsx-snapshots/Button-smoke-view-flat-warning-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.54 KB
...visual.test.tsx-snapshots/Button-smoke-view-flat-warning-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.35 KB
...al.test.tsx-snapshots/Button-smoke-view-normal-contrast-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
...sual.test.tsx-snapshots/Button-smoke-view-normal-contrast-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.73 KB
...l.test.tsx-snapshots/Button-smoke-view-normal-contrast-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.48 KB
...ual.test.tsx-snapshots/Button-smoke-view-normal-contrast-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.3 KB
...tton.visual.test.tsx-snapshots/Button-smoke-view-normal-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.98 KB
...Button.visual.test.tsx-snapshots/Button-smoke-view-normal-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.06 KB
...ton.visual.test.tsx-snapshots/Button-smoke-view-normal-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.77 KB
...utton.visual.test.tsx-snapshots/Button-smoke-view-normal-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.68 KB
...al.test.tsx-snapshots/Button-smoke-view-outlined-action-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.35 KB
...sual.test.tsx-snapshots/Button-smoke-view-outlined-action-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.57 KB
...l.test.tsx-snapshots/Button-smoke-view-outlined-action-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.25 KB
...ual.test.tsx-snapshots/Button-smoke-view-outlined-action-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.66 KB
....test.tsx-snapshots/Button-smoke-view-outlined-contrast-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.28 KB
...al.test.tsx-snapshots/Button-smoke-view-outlined-contrast-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+458 Bytes
...test.tsx-snapshots/Button-smoke-view-outlined-contrast-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+413 Bytes
...l.test.tsx-snapshots/Button-smoke-view-outlined-contrast-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.53 KB
...al.test.tsx-snapshots/Button-smoke-view-outlined-danger-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.21 KB
...sual.test.tsx-snapshots/Button-smoke-view-outlined-danger-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.46 KB
...l.test.tsx-snapshots/Button-smoke-view-outlined-danger-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.15 KB
...ual.test.tsx-snapshots/Button-smoke-view-outlined-danger-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.57 KB
...on.visual.test.tsx-snapshots/Button-smoke-view-outlined-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.18 KB
...tton.visual.test.tsx-snapshots/Button-smoke-view-outlined-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.59 KB
...sual.test.tsx-snapshots/Button-smoke-view-outlined-info-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.27 KB
...visual.test.tsx-snapshots/Button-smoke-view-outlined-info-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.5 KB
...ual.test.tsx-snapshots/Button-smoke-view-outlined-info-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.2 KB
...isual.test.tsx-snapshots/Button-smoke-view-outlined-info-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.37 KB
...n.visual.test.tsx-snapshots/Button-smoke-view-outlined-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.93 KB
...ton.visual.test.tsx-snapshots/Button-smoke-view-outlined-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.6 KB
...l.test.tsx-snapshots/Button-smoke-view-outlined-success-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.28 KB
...ual.test.tsx-snapshots/Button-smoke-view-outlined-success-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.62 KB
....test.tsx-snapshots/Button-smoke-view-outlined-success-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.28 KB
...al.test.tsx-snapshots/Button-smoke-view-outlined-success-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.64 KB
...l.test.tsx-snapshots/Button-smoke-view-outlined-utility-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...ual.test.tsx-snapshots/Button-smoke-view-outlined-utility-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.57 KB
....test.tsx-snapshots/Button-smoke-view-outlined-utility-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.25 KB
...al.test.tsx-snapshots/Button-smoke-view-outlined-utility-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.65 KB
...l.test.tsx-snapshots/Button-smoke-view-outlined-warning-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.32 KB
...ual.test.tsx-snapshots/Button-smoke-view-outlined-warning-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.57 KB
....test.tsx-snapshots/Button-smoke-view-outlined-warning-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.25 KB
...al.test.tsx-snapshots/Button-smoke-view-outlined-warning-light-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.87 KB
...tton.visual.test.tsx-snapshots/Button-smoke-view-raised-dark-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.5 KB
...Button.visual.test.tsx-snapshots/Button-smoke-view-raised-dark-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.77 KB
...ton.visual.test.tsx-snapshots/Button-smoke-view-raised-light-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.38 KB
...utton.visual.test.tsx-snapshots/Button-smoke-view-raised-light-webkit-linux.png
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
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import type {CasesWithName} from '../../../stories/tests-factory/models'; | ||
import type {ButtonProps} from '../Button'; | ||
|
||
export const defaultProps: ButtonProps = { | ||
children: 'Text', | ||
}; | ||
|
||
export const sizeCases: CasesWithName<ButtonProps['size']> = [ | ||
['xs', 'xs'], | ||
['s', 's'], | ||
['m', 'm'], | ||
['l', 'l'], | ||
['xl', 'xl'], | ||
]; | ||
|
||
export const selectedCases: CasesWithName<ButtonProps['selected']> = [['selected', true]]; | ||
|
||
export const disabledCases: CasesWithName<ButtonProps['disabled']> = [['disabled', true]]; | ||
|
||
export const loadingCases: CasesWithName<ButtonProps['loading']> = [['loading', true]]; | ||
|
||
export const viewsCases: CasesWithName<ButtonProps['view']> = [ | ||
['normal', 'normal'], | ||
['action', 'action'], | ||
['outlined', 'outlined'], | ||
['outlined-info', 'outlined-info'], | ||
['outlined-success', 'outlined-success'], | ||
['outlined-warning', 'outlined-warning'], | ||
['outlined-danger', 'outlined-danger'], | ||
['outlined-utility', 'outlined-utility'], | ||
['outlined-action', 'outlined-action'], | ||
['raised', 'raised'], | ||
['flat', 'flat'], | ||
['flat-secondary', 'flat-secondary'], | ||
['flat-info', 'flat-info'], | ||
['flat-success', 'flat-success'], | ||
['flat-warning', 'flat-warning'], | ||
['flat-danger', 'flat-danger'], | ||
['flat-utility', 'flat-utility'], | ||
['flat-action', 'flat-action'], | ||
['normal-contrast', 'normal-contrast'], | ||
['outlined-contrast', 'outlined-contrast'], | ||
['flat-contrast', 'flat-contrast'], | ||
]; | ||
|
||
export const pinsCases: CasesWithName<ButtonProps['pin']> = [ | ||
['round-round', 'round-round'], | ||
['brick-brick', 'brick-brick'], | ||
['clear-clear', 'clear-clear'], | ||
['circle-circle', 'circle-circle'], | ||
['round-brick', 'round-brick'], | ||
['brick-round', 'brick-round'], | ||
['round-clear', 'round-clear'], | ||
['clear-round', 'clear-round'], | ||
['brick-clear', 'brick-clear'], | ||
['clear-brick', 'clear-brick'], | ||
['circle-brick', 'circle-brick'], | ||
['brick-circle', 'brick-circle'], | ||
['circle-clear', 'circle-clear'], | ||
['clear-circle', 'clear-circle'], | ||
]; |
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
138 changes: 138 additions & 0 deletions
138
src/stories/tests-factory/create-smoke-scenarios.test.ts
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 |
---|---|---|
@@ -0,0 +1,138 @@ | ||
import {createSmokeScenarios} from './create-smoke-scenarios'; | ||
|
||
test('regular', () => { | ||
const smokeScenarious = createSmokeScenarios( | ||
{ | ||
theme: 'theme-1', | ||
label: 'label-1', | ||
}, | ||
{ | ||
theme: ['theme-2', 'theme-3'], | ||
label: ['label-2', 'label-3'], | ||
}, | ||
); | ||
|
||
expect(smokeScenarious).toEqual([ | ||
[ | ||
'smoke', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-1', | ||
theme: 'theme-1', | ||
}, | ||
], | ||
[ | ||
'smoke-theme-theme-2', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-1', | ||
theme: 'theme-2', | ||
}, | ||
], | ||
[ | ||
'smoke-theme-theme-3', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-1', | ||
theme: 'theme-3', | ||
}, | ||
], | ||
[ | ||
'smoke-label-label-2', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-2', | ||
theme: 'theme-1', | ||
}, | ||
], | ||
[ | ||
'smoke-label-label-3', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-3', | ||
theme: 'theme-1', | ||
}, | ||
], | ||
]); | ||
}); | ||
|
||
test('with scenario name', () => { | ||
const smokeScenarious = createSmokeScenarios( | ||
{ | ||
theme: 'theme-1', | ||
label: 'label-1', | ||
}, | ||
{ | ||
theme: [ | ||
['name-theme-2', 'theme-2'], | ||
['name-theme-3', 'theme-3'], | ||
], | ||
label: [ | ||
['name-label-2', 'label-2'], | ||
['name-label-3', 'label-3'], | ||
], | ||
}, | ||
); | ||
|
||
expect(smokeScenarious).toEqual([ | ||
[ | ||
'smoke', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-1', | ||
theme: 'theme-1', | ||
}, | ||
], | ||
[ | ||
'smoke-theme-name-theme-2', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-1', | ||
theme: 'theme-2', | ||
}, | ||
], | ||
[ | ||
'smoke-theme-name-theme-3', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-1', | ||
theme: 'theme-3', | ||
}, | ||
], | ||
[ | ||
'smoke-label-name-label-2', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-2', | ||
theme: 'theme-1', | ||
}, | ||
], | ||
[ | ||
'smoke-label-name-label-3', | ||
{tag: ['@smoke']}, | ||
{ | ||
label: 'label-3', | ||
theme: 'theme-1', | ||
}, | ||
], | ||
]); | ||
}); | ||
|
||
test('with additionalTags option', () => { | ||
const smokeScenarious = createSmokeScenarios( | ||
{ | ||
theme: 'theme-1', | ||
}, | ||
{ | ||
theme: [['name-theme-2', 'theme-2']], | ||
}, | ||
{ | ||
additionalTags: ['@custom-tag-1'], | ||
}, | ||
); | ||
|
||
expect(smokeScenarious).toEqual([ | ||
['smoke', {tag: ['@smoke', '@custom-tag-1']}, {theme: 'theme-1'}], | ||
['smoke-theme-name-theme-2', {tag: ['@smoke', '@custom-tag-1']}, {theme: 'theme-2'}], | ||
]); | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import type {Cases, CasesWithName, Scenario, ScenarioDetails} from './models'; | ||
|
||
interface Options { | ||
additionalTags?: Array<string>; | ||
} | ||
|
||
function checkIsCasesWithName<T>(cases: CasesWithName<T> | Cases<T>): cases is CasesWithName<T> { | ||
const firstCase = cases[0] || null; | ||
return Array.isArray(firstCase) && firstCase.length === 2; | ||
} | ||
|
||
export const createSmokeScenarios = <Props extends {}>( | ||
baseProps: Props, | ||
propsCases: { | ||
[K in Partial<keyof Props>]: CasesWithName<Props[K]> | Cases<Props[K]>; | ||
}, | ||
options?: Options, | ||
) => { | ||
const scenarioDetails: ScenarioDetails = { | ||
tag: ['@smoke', ...(options?.additionalTags || [])], | ||
}; | ||
|
||
const scenarios: Array<Scenario<Props>> = [ | ||
[ | ||
'smoke', | ||
scenarioDetails, | ||
{ | ||
...baseProps, | ||
}, | ||
], | ||
]; | ||
|
||
const propNames = Object.keys(propsCases) as Array<keyof Props>; | ||
propNames.forEach((propName) => { | ||
const propCases = propsCases[propName]; | ||
|
||
if (checkIsCasesWithName(propCases)) { | ||
propCases.forEach((propCase) => { | ||
const [caseName, caseProps] = propCase; | ||
|
||
scenarios.push([ | ||
`smoke-${propName as string}-${caseName}`, | ||
scenarioDetails, | ||
{ | ||
...baseProps, | ||
[propName]: caseProps, | ||
}, | ||
]); | ||
}); | ||
} else { | ||
propCases.forEach((propCase) => { | ||
const hasStringifyMethod = (propCase as any)?.toString; | ||
if (!hasStringifyMethod) { | ||
throw new Error( | ||
'The case value does not have a method "toString", use case with name.', | ||
); | ||
} | ||
|
||
scenarios.push([ | ||
`smoke-${propName as string}-${(propCase as any)?.toString()}`, | ||
scenarioDetails, | ||
{ | ||
...baseProps, | ||
[propName]: propCase, | ||
}, | ||
]); | ||
}); | ||
} | ||
}); | ||
|
||
return scenarios; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export type CaseName = string; | ||
export type Cases<T> = Array<T>; | ||
export type CasesWithName<T> = Array<[CaseName, T]>; | ||
|
||
export type ScenarioName = string; | ||
export type ScenarioDetails = {tag: Array<string>}; | ||
export type Scenario<T> = [ScenarioName, ScenarioDetails, T]; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a tag for the component so that you can run tests for one or more components