Skip to content

Commit a5f15ed

Browse files
committed
fix(pa11y): conditions
1 parent 017114a commit a5f15ed

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pa11yci

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"defaults": {
33
"timeout": 10000,
4-
"wait": 2000
4+
"wait": 2000,
5+
"chromeLaunchConfig": {
6+
"executablePath": "/usr/bin/google-chrome"
7+
}
58
},
69
"urls": [
710
"http://127.0.0.1:8080/patterns/base-colors/index.html",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "start-server-and-test start :8080 'npm-run-all test:accessibility'",
1313
"test:visual-regression:test": "backstop test --config=./tests/backstop.json",
1414
"test:visual-regression:approve": "backstop approve --config=./tests/backstop.json",
15-
"test:accessibility": "npx pa11y-ci",
15+
"test:accessibility": "npx --no pa11y-ci",
1616
"test:lighthouse": "npx lighthouse http://localhost:8080/patterns/pages-sample-page/pages-sample-page.rendered.html --budget-path=.lighthouse-budget.json --view",
1717
"test:webhint": "npx hint http://localhost:8080/styleguide/html/styleguide.html",
1818
"lint": "npm-run-all -p lint:*",

0 commit comments

Comments
 (0)