hermione/v5.0.0
DudaGod
released this
11 Jun 20:45
·
624 commits
to master
since this release
📑 Summary
This release aims to fix architectural issues and change few default config values to more commonly used ones.
💣 Breaking changes
testParserApi
object passed onBEFORE_FILE_READ
event is no longer anEventEmitter
teamcity
reporter is no longer supported, use hermione-teamcity-reporter plugin instead- reporters specified as function and used through programmatic API must have a
create
method for initialization - remove deprecated options:
screenshotOnReject
andscreenshotOnRejectTimeout
- option "-r" is no longer sets the specified reporter, now it uses for require module
- change default value for "saveHistory" option from "false" to "true"
- change default value for "antialiasingTolerance" option from "0" to "4"
- change default value for "compositeImage" option from "false" to "true"
- change default value for "takeScreenshotOnFails.assertViewFail" option from "false" to "true"
- change default value for "takeScreenshotOnFailsMode" option from "viewport" to "fullpage"
- change default value for "httpTimeout" option from "90000" to "30000"
- change default value for "pageLoadTimeout" option from "300000" to " 20000"
- change default value for "sessionQuitTimeout" option from "90000" to "5000"
- change default value for "takeScreenshotOnFailsTimeout" option from "90000" to "5000"
🚀 Improvements
- add jsonl reporter
- add ability to redirect output of reporter to the specified file. Example of usage:
npx hermione --reporter '{"type": "jsonl", "path": "./some-path/result.jsonl"}'