Skip to content

Releases: Widen/expect-axe-playwright

v4.1.1

18 Apr 19:20
de05104
Compare
Choose a tag to compare

Patch Changes

  • 6e21b8b: remove npmRegistryServer

v4.1.0

18 Apr 18:27
d55d6fc
Compare
Choose a tag to compare

Minor Changes

v4.0.1

01 Feb 02:15
4c2be94
Compare
Choose a tag to compare

Patch Changes

  • Fix missing TypeScript types.

v4.0.0

31 Jan 03:24
a692635
Compare
Choose a tag to compare

Major Changes

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

v3.0.0

29 Sep 22:02
50ca470
Compare
Choose a tag to compare

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

v2.2.1

06 Jul 16:29
35b33fc
Compare
Choose a tag to compare

Patch Changes

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

v2.2.0

31 Mar 16:45
Compare
Choose a tag to compare

Minor Changes

  • b1b5d23: Support custom report filenames via toBeAccessible

v2.1.0

29 Mar 15:28
0439704
Compare
Choose a tag to compare

Minor Changes

  • aaedb48: Update HTML report output.

v2.0.1

18 Mar 13:42
5f32f9f
Compare
Choose a tag to compare

Patch Changes

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

v2.0.0

15 Feb 17:50
4cc5de4
Compare
Choose a tag to compare

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.