Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 17:50
· 25 commits to main since this release
4cc5de4

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.