Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis committed Nov 28, 2023
1 parent fc1e890 commit 46a83af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/accessibility-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
sudo apt-get update
sudo apt-get install -y gettext libgconf-2-4
- name: Install pa11y
run: npm install pa11y
run: npm install pa11y-ci
- name: Preroll
run: |
npm run build
python network-api/manage.py collectstatic --no-input --verbosity 0
python network-api/manage.py migrate --no-input
python network-api/manage.py block_inventory
python network-api/manage.py load_fake_data
- name: Integration Tests
- name: Run pa11y tests
run: npm run pa11y
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"optimize:png": "find source/images -type f -name '*.png' -print0 | xargs -0 -n 1 -P 6 optipng",
"optimize": "run-p optimize:**",
"percy": "percy exec -t 750 -- npm run playwright:percy",
"pa11y": "pa11y-ci --sitemap http://localhost:8000/en/sitemap.xml",
"pally-ci": "run-p --race server pa11y:test",
"pa11y:test": "wait-on -i 3000 -t 120000 -v http://127.0.0.1:8000/cms && pa11y-ci --sitemap http://localhost:8000/en/sitemap.xml",
"playwright": "npm run playwright:wait:dev && playwright test ./tests/integration/",
"playwright:install": "playwright install chromium firefox webkit",
"playwright:wait:dev": "wait-on -i 3000 http://localhost:8000/static/_css/tailwind.compiled.css",
Expand Down

0 comments on commit 46a83af

Please sign in to comment.