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/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @dequelabs/axe-api-team
* @dequelabs/ocarina-team
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: 'npm'
- run: npm ci
# Ensure packages are built
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: 'npm'
- run: npm ci
# Ensure packages are built
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: 'npm'
- run: npm ci
# Ensure packages are built
Expand All @@ -86,7 +86,7 @@ jobs:
PKG_VERSION=$(jq -r .version < lerna.json)
gh release create v$PKG_VERSION \
--title "Release $PKG_VERSION" \
--generate-notes \
--notes-from-tag \
--repo ${{ github.repository }} \
--target master
env:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run lint

puppeteer:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -46,7 +46,7 @@ jobs:
cli:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -66,7 +66,7 @@ jobs:
webdriverjs:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -88,7 +88,7 @@ jobs:
webdriverio:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -110,7 +110,7 @@ jobs:
reporter_earl:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -128,7 +128,7 @@ jobs:
react:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -149,7 +149,7 @@ jobs:
playwright:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -168,7 +168,7 @@ jobs:
wdio_globals_test:
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
Expand All @@ -190,7 +190,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm test --workspace=test/axe-core
2 changes: 1 addition & 1 deletion .github/workflows/update-axe-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
- uses: dequelabs/axe-api-team-public/.github/actions/create-update-axe-core-pull-request-v1@main
with:
token: ${{ secrets.PAT }}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.10.2](https://github.com/dequelabs/axe-core-npm/compare/v4.10.1...v4.10.2) (2025-05-12)


### Bug Fixes

* Optimize AxeBuilder memory usage. ([#1154](https://github.com/dequelabs/axe-core-npm/issues/1154)) ([e53cd36](https://github.com/dequelabs/axe-core-npm/commit/e53cd36d0770a8323577946b0438f058b87a0aad)), closes [/github.com/bensenescu/axe-core-npm/blob/develop/packages/puppeteer/src/axePuppeteer.ts#L59](https://github.com//github.com/bensenescu/axe-core-npm/blob/develop/packages/puppeteer/src/axePuppeteer.ts/issues/L59) [/github.com/bensenescu/axe-core-npm/blob/develop/packages/puppeteer/src/utils.ts#L34](https://github.com//github.com/bensenescu/axe-core-npm/blob/develop/packages/puppeteer/src/utils.ts/issues/L34)
* Update axe-core to v4.10.3 ([#1155](https://github.com/dequelabs/axe-core-npm/issues/1155)) ([f8e3a14](https://github.com/dequelabs/axe-core-npm/commit/f8e3a14043c7288ca9373a5f1543ffd27cedf256))
* **wdio:** resolve blank navigation issue in WDIO v9 ([#1169](https://github.com/dequelabs/axe-core-npm/issues/1169)) ([6505560](https://github.com/dequelabs/axe-core-npm/commit/6505560d646ddc6db8a9b4cf772af08ff3f08dc3))





## [4.10.1](https://github.com/dequelabs/axe-core-npm/compare/v4.10.0...v4.10.1) (2024-10-29)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "4.10.1"
"version": "4.10.2"
}
45 changes: 23 additions & 22 deletions package-lock.json

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

11 changes: 11 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.10.2](https://github.com/dequelabs/axe-core-npm/compare/v4.10.1...v4.10.2) (2025-05-12)


### Bug Fixes

* Update axe-core to v4.10.3 ([#1155](https://github.com/dequelabs/axe-core-npm/issues/1155)) ([f8e3a14](https://github.com/dequelabs/axe-core-npm/commit/f8e3a14043c7288ca9373a5f1543ffd27cedf256))





## [4.10.1](https://github.com/dequelabs/axe-core-npm/compare/v4.10.0...v4.10.1) (2024-10-29)


Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axe-core/cli",
"version": "4.10.1",
"version": "4.10.2",
"description": "A CLI for accessibility testing using axe-core",
"author": {
"name": "Wilco Fiers",
Expand Down Expand Up @@ -47,8 +47,8 @@
"testing"
],
"dependencies": {
"@axe-core/webdriverjs": "^4.10.1",
"axe-core": "~4.10.2",
"@axe-core/webdriverjs": "^4.10.2",
"axe-core": "~4.10.3",
"chromedriver": "latest",
"colors": "^1.4.0",
"commander": "^9.4.1",
Expand Down
19 changes: 3 additions & 16 deletions packages/cli/src/lib/webdriver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,30 +90,17 @@ describe('startDriver', () => {
assert.equal(chromedriverPath, config.chromedriverPath);
});

it('passes the --no-sandbox argument to chromeOptions', async () => {
browser = 'chrome-headless';
config.chromeOptions = ['--no-sandbox'];
driver = await startDriver(config);

const options = config?.builder?.getChromeOptions();
assert.isArray(options?.get('goog:chromeOptions').args);
assert.deepEqual(options?.get('goog:chromeOptions').args, [
'headless',
'--no-sandbox'
]);
});

it('passes multiple arguments argument to chromeOptions', async () => {
browser = 'chrome-headless';
config.chromeOptions = ['no-sandbox', 'disable-dev-shm-usage'];
config.chromeOptions = ['disable-dev-shm-usage'];
driver = await startDriver(config);

const options = config?.builder?.getChromeOptions();
assert.isArray(options?.get('goog:chromeOptions').args);
assert.deepEqual(options?.get('goog:chromeOptions').args, [
'headless',
'no-sandbox',
'disable-dev-shm-usage'
'disable-dev-shm-usage',
'no-sandbox'
]);
});

Expand Down
3 changes: 3 additions & 0 deletions packages/cli/src/lib/webdriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const startDriver = async (

if (CHROME_TEST_PATH) {
options.setChromeBinaryPath(path.resolve(CHROME_TEST_PATH));
// Required for CI runners using >=Ubuntu 24.04
// @see https://github.com/SeleniumHQ/selenium/issues/14609
options.addArguments('no-sandbox');
}

if (config.chromePath) {
Expand Down
Loading