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
assertLighthouseScorewithassertAccessibilityScoreand removedflagsandconfigarguments assertAccessibilityScoreand other lighthouse assertions now return the parsed result- the result function
isSuccessnow 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
faa6282chore: drop Node 8 support1f31f26feat: upgrade lighthouse 5.6 & add methods to run all LH categories3828d21test: fix various tests and make chrome default test browser31051berefactor: clean up lighthouse functionsbe85173feat: upgrade to puppeteer 2.xfec8d51fix: remove legacy lighthouse loading codea324db1feat: add clickOnAll() to allow clicking all matching elements140cf29fix: throwclickOn()when selector matches more than one element (addresses #28) - see: #2842b275estyle: lintc562366fix: address feedbackdf99704chore: upgrade testium-cookie 2.x