@axe-core/watcher Package Release Notes
Release notes describing the changes in the @axe-core/watcher package for version 3.0.0 and later
3.16.0 (September 26, 2024)
- Fixed a transitive dependency issue involving cypressCommands.
3.15.0 (September 11, 2024)
- Added support for WebdriverIO version 9 (while retaining support for WebdriverIO versions 7 and 8).
3.14.2 (August 29, 2024)
- Fixed an error accessing the timeout value in Cypress.
- For Cypress, now throw an exception if the user tries to use Watcher without first calling cypressConfig().
- Fixed an error that appeared under certain conditions in Cypress when importing the os module.
- Added buildID to AxeConfiguration for parallel test runs.
- Deprecated sessionID in AxeConfiguration in favor of buildID.
- Fixed a problem that caused an additional page state to be captured with Puppeteer due to handling of authenticate().
- Performance improvements in axe Watcher due to changes in code obfuscation.
3.13.1 (July 19, 2024)
- Fix for a problem with excluding URLs from scans.
3.13.0 (July 18, 2024)
- Allow excluding URLs from the analysis scan by using the excludeUrlPatterns option. See AxeConfiguration interface.
3.12.0 (July 10, 2024)
- Improved the handling of component remounting in Cypress.
- Ensure Watcher can be loaded in WebdriverIO version 7.
- Added Puppeteer locator support.
- Added configuration of runContext and runOptions for axe-core. See AxeConfiguration interface.
3.11.1 (June 20, 2024)
- Fixed a problem where return values from external setupNodeEvents handlers in Cypress weren't propagated.
- Changed behavior to allow Cypress's Chrome extension to be loaded.
3.11.0 (June 7, 2024)
- Addressed a problem where unmounting and remounting of components would cause accessibility scans to timeout in Cypress.
- Relaxed the browser detection logic to avoid failing even when using supported browsers.
- Removed file-system writes when flushing results in Cypress.
3.10.0 (May 9, 2024)
- Fixed a problem in Cypress where the config object returned from setupNodeEvents wasn't propagated correctly and any changes made to it were lost.
- Fixed the implementation of proxied functions (for Playwright Test) that had resulted in an error with Locator objects: can be only used with Locator object.
- Wrapped two new Playwright functions from the 1.43.1 release.
3.9.0 (April 23, 2024)
- Added backwards compatible types for Puppeteer version 20.
- For Cypress, deprecated axeAnalyze(), axeFlush(), axeStart(), and axeStop(). Replaced with axeWatcherAnalyze(), axeWatcherFlush(), axeWatcherStart(), and axeWatcherStop().
- Fixed a TypeError on certain Puppeteer version 21 (and later) hooks.
3.8.0 (April 3, 2024)
- Update the emitted JavaScript to target ECMAScript 2018 (ES2018) instead of ECMAScript 2015 (ES2015).
3.6.0 (February 29, 2024)
- In the Cypress integration, prevent after:run events if no tests ran.
- Changed the download URL format for Chromedriver because the Chromedriver team moved to a new hosting solution. Impacts WebdriverIO.
3.5.0 (January 22, 2024)
- Fixed a problem where calling Playwright's Page.goto() method would incorrectly record two page states.
- Fixed a problem in the Cypress integration that caused certain user configurations of setupNodeEvents to be ignored.
- Added eventemitter3 as a required dependency.
- Wrapped some Playwright methods that hadn't been wrapped before.
3.4.0 (December 7, 2023)
- Fixed a problem where page states were lost or errors occurred when tests caused page navigations.
- Removed some redundant code from the Cypress integration.
3.1.0 (September 14, 2023)
- All integrations now allow --headless=new.
3.0.0 (September 8, 2023)
To address cases where analyze() was unexpectedly not called, the following functions needed to be deprecated and replaced:
Deprecated function | New function |
---|---|
wrapPlaywright(browserContext, controller) | wrapPlaywrightPage(page, controller) |
wrapPuppeteer(context, controller) | wrapPuppeteerPage(page, controller) |
Using the deprecated functions will throw an error.