diff --git a/.pa11yci b/.pa11yci index f60b353d2b..5894730975 100644 --- a/.pa11yci +++ b/.pa11yci @@ -6,7 +6,10 @@ "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail" ], "chromeLaunchConfig": { - "executablePath": "/usr/bin/google-chrome" + "executablePath": "/usr/bin/google-chrome", + "args": [ + "--no-sandbox" + ] } }, "urls": [ diff --git a/package.json b/package.json index f318381b76..c8a36877a5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test": "start-server-and-test start :8080 'npm-run-all test:accessibility'", "test:visual-regression:test": "backstop test --config=./tests/backstop.json", "test:visual-regression:approve": "backstop approve --config=./tests/backstop.json", - "test:accessibility": "npx pa11y-ci", + "test:accessibility": "npx --no pa11y-ci", "test:lighthouse": "npx lighthouse http://localhost:8080/patterns/pages-sample-page/pages-sample-page.rendered.html --budget-path=.lighthouse-budget.json --view", "test:webhint": "npx hint http://localhost:8080/styleguide/html/styleguide.html", "lint": "npm-run-all -p lint:*",