forked from carbon-design-system/ibm-products
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.percy.yml
More file actions
28 lines (28 loc) · 1003 Bytes
/
Copy path.percy.yml
File metadata and controls
28 lines (28 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Percy config
version: 2
snapshot:
widths:
- 360
- 1366
minHeight: 1024
discovery:
network_idle_timeout: 750
storybook:
waitForTimeout: 1000
# waits for data-carbon-theme attribute to exist before taking snapshot
# if storybook is still loading, percy could take a snapshot of the storybook
# loading spinner and cause flaky tests
waitForSelector: '.story-wrapper'
include: ['/Components/', '/Patterns/', '/Utilities/']
exclude: [
'/Internal/',
'/Datagrid/*',
'/DataSpreadsheet/',
'Cascade: With Grid',
'Cascade: Without Grid',
# to be fixed
'/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
]