Chore: Fix broken pa11y-ci (#41597)
* Chore: Fix broken pa11y-ci * Chore: using npx instead * Chore: testing with prebuilt image * Chore: testing bin path * Chore: trying * Chore: another try * Update puppeteer image * Chore: updating image * Chore: removes yarn version printout * Chore: removes yarn version printout Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
This commit is contained in:
co-authored by
dsotirakis
parent
a50b6947ce
commit
16578b0af0
@@ -428,16 +428,16 @@ def test_a11y_frontend_step(ver_mode, edition, port=3001):
|
||||
]
|
||||
if ver_mode == 'pr':
|
||||
commands.extend([
|
||||
'yarn dlx pa11y-ci@git://github.com/pa11y/pa11y-ci#5c842cf1b9fe2867b70ff5354851d985be8d71c4 pa11y-ci --config .pa11yci-pr.conf.js',
|
||||
'pa11y-ci --config .pa11yci-pr.conf.js',
|
||||
])
|
||||
else:
|
||||
commands.extend([
|
||||
'yarn dlx --quiet pa11y-ci@git://github.com/pa11y/pa11y-ci#5c842cf1b9fe2867b70ff5354851d985be8d71c4 pa11y-ci --config .pa11yci.conf.js --json > pa11y-ci-results.json',
|
||||
'pa11y-ci --config .pa11yci.conf.js --json > pa11y-ci-results.json',
|
||||
])
|
||||
|
||||
return {
|
||||
'name': 'test-a11y-frontend' + enterprise2_suffix(edition),
|
||||
'image': 'buildkite/puppeteer',
|
||||
'image': 'hugohaggmark/docker-puppeteer',
|
||||
'depends_on': [
|
||||
'end-to-end-tests-server' + enterprise2_suffix(edition),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user