Skip to content

hermione/v5.0.0

Compare
Choose a tag to compare
@DudaGod 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 on BEFORE_FILE_READ event is no longer an EventEmitter
  • 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 and screenshotOnRejectTimeout
  • 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"}'