Skip to content

v3.0.0

Compare
Choose a tag to compare
@i-tier-bot i-tier-bot released this 31 Mar 07:08

Breaking Changes

  • Node 8 is no longer supported

See: faa6282

  • the accessibility audit list changed from the manual audit list to the LH default one
  • the LH result object (v5.x) might be different to the previous one (v3.x)

See: 1f31f26

  • renamed assertLighthouseScore with assertAccessibilityScore and removed flags and config arguments
  • assertAccessibilityScore and other lighthouse assertions now return the parsed result
  • the result function isSuccess now asserts the passed value against the calculated score.

See: 31051be

withPuppeteerPage() will have a puppeteer 2.x Page object as function argument

See: be85173

browser.clickOn(selector) will throw when more than one element is matched

See: 140cf29

Commits

  • feat: lighthouse v5.6, puppeteer-core 2.x & drop Node 8 support - @aaarichter #50
    • faa6282 chore: drop Node 8 support
    • 1f31f26 feat: upgrade lighthouse 5.6 & add methods to run all LH categories
    • 3828d21 test: fix various tests and make chrome default test browser
    • 31051be refactor: clean up lighthouse functions
    • be85173 feat: upgrade to puppeteer 2.x
    • fec8d51 fix: remove legacy lighthouse loading code
    • a324db1 feat: add clickOnAll() to allow clicking all matching elements
    • 140cf29 fix: throw clickOn() when selector matches more than one element (addresses #28) - see: #28
    • 42b275e style: lint
    • c562366 fix: address feedback
    • df99704 chore: upgrade testium-cookie 2.x