Skip to content

Releases: Widen/expect-axe-playwright

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.

v1.2.1

08 Nov 21:22
6fb689f
Compare
Choose a tag to compare

Patch Changes

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

v1.2.0

19 Aug 14:47
Compare
Choose a tag to compare

1.2.0 (2021-08-19)

Features

v1.1.1

04 Aug 15:40
Compare
Choose a tag to compare

1.1.1 (2021-08-04)

Bug Fixes

  • Use main field rather than exports for compatibility (72458e5)

v1.1.0

09 Jul 13:30
Compare
Choose a tag to compare

1.1.0 (2021-07-09)

Features

  • Allow passing Axe run options to matcher (96d01e7)

v1.0.0

09 Jul 13:14
Compare
Choose a tag to compare

1.0.0 (2021-07-09)

Features

  • Allow passing waitForSelector options to matchers (5a4a8c4)
  • Initial release (e70fd04)