Skip to content

hermione/v8.0.0

Compare
Choose a tag to compare
@DudaGod DudaGod released this 17 Jan 14:11
· 192 commits to master since this release

馃挘 Breaking changes

  • moveTo command moves the cursor relative to the center of the element (previously moves relative to the upper-left corner). You should rewrite your tests or use new command moveCursorTo which is added in hermione@8.1.0 and works like it was in hermione@7;
  • re-write major parts of hermione to typescript and get rid of typings. The number of exported classes and types has been reduced. (#766)
  • disable animations while executing assertView by default (#800)
  • node versions less than 18.0.0 are no longer supported (#802)

馃殌 Improvements

  • Implement ability to switch to REPL mode in which user can communicate with browser via terminal (#817)
  • add clearSession browser command that clears session state (deletes cookies, clears local and session storages) (#824)
  • add ability to use devtools procotol through cli option --devtools in order to make it easier to switch between the two protocols (devtools and webdriver) (#827)
  • generate uniq X-Request-ID header for each browser request (#819)
    Which consists of ${TEST_X_REQ_ID}${DELIMITER}$BROWSER_X_REQ_ID}, where:
    • TEST_X_REQ_ID - uniq uuid for each test (different from every other test retry), allows you to find all requests related to a single test run using logs;
    • DELIMITER - __ separator between test and request uuids;
    • BROWSER_X_REQ_ID - uniq uuid for each browser request,
      Real-world example: 2f31ffb7-369d-41f4-bbb8-77744615d2eb__e8d011d8-bb76-42b9-b80e-02f03b8d6fe1.
  • add basic unhandled rejection stack trace (#815)
  • export TestCollection and Test types (#806)

馃悰 Bug fixes

  • use exact version of webdriverio@8.13.4 (#783)
  • do not reinit cached browser session in worker (#770)
  • ability to disable tests isolation (#821)
  • correctly disable animations in inframes for ios (#813)
  • correctly generate test x request id for each test in one browser (#825)
  • correctly switch between iframes on disable animation (#820)
  • fix client code to work on IE11 (#811)
  • ignore puppeteer ProtocolError in workers (#808)
  • export TestResult and Suite types (#786)
  • ignore ProtocolError unhandled rejections (#776)
  • correctly set system.debug config field (#756)