Skip to content

Commit 5c21370

Browse files
committed
try to restrict percy to a single width, and longer timeout
1 parent fadcec5 commit 5c21370

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ jobs:
263263
name: Run percy snapshots
264264
command: |
265265
npm i @percy/cli
266-
npx percy snapshot test/percy/
266+
npx percy snapshot -c test/percy/snapshots.yml test/percy/
267267
rm test/percy/*.html
268268
269269
# Chart studio

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ doc/check-or-enforce-order.py
5252
packages/javascript/jupyterlab-plotly/lib/
5353
packages/python/plotly/jupyterlab_plotly/labextension/
5454
packages/python/plotly/jupyterlab_plotly/nbextension/index.js*
55+
56+
test/percy/*.html

test/percy/snapshots.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
static:
3+
options:
4+
waitForTimeout: 3000
5+
snapshot:
6+
widths:
7+
- 1280

0 commit comments

Comments
 (0)