Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: 22
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci --legacy-peer-deps
- run: npm ci
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci --legacy-peer-deps
- run: npm test
- run: npm ci
- run: npm test
18 changes: 17 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
},
"files": [],
"scripts": {
"test": "web-test-runner",
"test": "npx playwright install firefox && web-test-runner",
"test:guidepup": "npx playwright test"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@guidepup/guidepup": "^0.24.0",
"@guidepup/playwright": "^0.14.1",
"@playwright/test": "^1.48.0",
"@web/test-runner": "^0.20.1"
"@web/test-runner": "^0.20.1",
"@web/test-runner-playwright": "^0.11.1"
}
}
}
8 changes: 8 additions & 0 deletions web-test-runner.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import { playwrightLauncher } from '@web/test-runner-playwright';

export default {
files: "tests/web-test-runner/*.test.html",
coverage: true,
nodeResolve: true,
browsers: [
playwrightLauncher({
product: 'firefox', // Use Firefox instead of Chrome (web-test-runner’s default), because Firefox doesn’t have a native implementation of 'ariaNotify' (as of 2025-11-07), so we can test the polyfill in it.
launchOptions: { headless: true }
}),
],
plugins: [
{
name: "include-polyfill",
Expand Down