forked from carbon-design-system/ibm-products
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: VRT setup configuration in workflow (carbon-design-system#6410)
* test(VRT): setup percy vrt in ci * chore: install deps generating yarn lock * chore: cache version update * ci: refactor localhost to storybook-static * chore: revert cache versions * chore: revert a name * test: intentional regression test, pls revert * chore: exclude datagrid stories * fix: syntax error * chore: run vrt in a seperate check * chore: cleanup datagrid excludes * chore: revert checklist regression and added a timeout for snapshot * chore: cleanup and revert checklist regression * test: test commit with regression * chore: upgrade percy cli * test: revert test regression * chore: add snapshot excludes * chore: add 2 more excludes * fix: disable transitions and animations for snapshot * chore: exclude pageheader folder * chore: clean up * build: trigger CI checks * fix: merge conflict * fix: inconsistent snapshots, and clean up * fix: increase tagset timeout * chore: exclude tagset many tags * test: trigger checks test 1 * test: trigger checks test 2 * chore: remove check on feature branch, as its ready for merge
- Loading branch information
1 parent
8bcae57
commit 53e5fd1
Showing
10 changed files
with
319 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ logs | |
pids | ||
*.pid | ||
*.seed | ||
.env | ||
|
||
# Certificates | ||
*.crt | ||
|
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,17 @@ | ||
# Percy config | ||
version: 2 | ||
snapshot: | ||
widths: | ||
- 360 | ||
- 1366 | ||
minHeight: 1024 | ||
storybook: | ||
include: ['/IBM Products/'] | ||
exclude: [ | ||
'/Datagrid/*', | ||
'/DataSpreadsheet/', | ||
'/MultiAddSelect: With Avatars/', # avoid dynamic avatar color generation | ||
'/Tag set/TagSet: Hundreds Of Tags', # avoid dynamic tag color generation | ||
'/Page header/PageHeader: Page header with all items, pre-collapsed', # takes random time, to collapse on initial load | ||
'/Tag set/TagSet: Many Tags', # takes time to calculate the overflow, causing random layout shift | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,9 @@ export default { | |
docs: { | ||
page: mdx, | ||
}, | ||
percy: { | ||
waitForTimeout: 1000, | ||
}, | ||
}, | ||
}; | ||
|
||
|
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
Oops, something went wrong.