Skip to content

Latest commit

 

History

History
113 lines (65 loc) · 2.17 KB

CHANGELOG.md

File metadata and controls

113 lines (65 loc) · 2.17 KB

expect-axe-playwright

4.1.2

Patch Changes

  • 1a592d7: Update axe-reporter-html dependency

4.1.1

Patch Changes

  • 6e21b8b: remove npmRegistryServer

4.1.0

Minor Changes

  • ca7f25b: Update dependencies

4.0.1

Patch Changes

  • Fix missing TypeScript types.

4.0.0

Major Changes

  • ea84151: Update to ESM-first. CommonJS is still supported.

3.0.0

Major Changes

  • dc66d1c: Rename toBeAccessible to toPassAxe (#24)

    -expect(page).toBeAccessible()
    +expect(page).toPassAxe()

    The README explains why it's inaccurate to suggest that automated checks can tell you if a page is accessible.

    To update your code to be compatible with this major change, find and replace all calls to toBeAccessible with toPassAxe.

Minor Changes

  • af9d4c8: Allow matcher to accept Axe results object

2.2.1

Patch Changes

  • 7ad6287: Inject axe even if there is an element with an id of axe.

2.2.0

Minor Changes

  • b1b5d23: Support custom report filenames via toBeAccessible

2.1.0

Minor Changes

  • aaedb48: Update HTML report output.

2.0.1

Patch Changes

  • 0e06ed1: Add engines to package.json to enforce Node version 14 or greater.

2.0.0

Major Changes

  • 72e890d: Remove support for jest-playwright.

  • 72e890d: Remove support for resolving iframes from element handles. Please use FrameLocators instead.

    -expect(page.$('iframe')).toBeAccessible()
    +expect(page.frameLocator('iframe')).toBeAccessible()
  • 72e890d: Remove support for element handles. Please use locators instead.

    -expect(page.$('button')).toBeAccessible()
    +expect(page.locator('button')).toBeAccessible()
  • 72e890d: Make matchers the default export.

    -import { matchers } from 'expect-axe-playwright'
    +import matchers from 'expect-axe-playwright'

Minor Changes

  • 72e890d: Attach HTML report with full violation details to each failed test.
  • 72e890d: Add ability to configure default rule settings in the Playwright config file.

1.2.1

Patch Changes

  • 5dd7dde: Update docs to reflect migration to changesets.