v3.0.0
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
withassertAccessibilityScore
and removedflags
andconfig
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 support1f31f26
feat: upgrade lighthouse 5.6 & add methods to run all LH categories3828d21
test: fix various tests and make chrome default test browser31051be
refactor: clean up lighthouse functionsbe85173
feat: upgrade to puppeteer 2.xfec8d51
fix: remove legacy lighthouse loading codea324db1
feat: add clickOnAll() to allow clicking all matching elements140cf29
fix: throwclickOn()
when selector matches more than one element (addresses #28) - see: #2842b275e
style: lintc562366
fix: address feedbackdf99704
chore: upgrade testium-cookie 2.x