Skip to content

Breaking changes

Pre-release
Pre-release

Choose a tag to compare

@thetutlage thetutlage released this 05 Jul 04:51

Breaking changes

  • BasePageInteraction is not a promise anymore. You will have to call exec on the interaction instance to execute actions. This is done to make our codebases work with no-floating-promises ESLint rule.
  • Rename decoratorsCollection.toJSON to decoratorsCollection.toList.

Other changes

  • Page assertions do not rely on @japa/assert plugin anymore. It uses the assertion module of Node.js.

Commits

  • chore: update peer dependencies range b7ab7cd
  • ci: enable install-playwright-browsers when running tests ef7805e
  • ci: configure browsers before running tests 89b9f3c
  • docs(README): remove snyk badge and update tests badge URL c22d409
  • style: reorganize imports ecbc378
  • chore: do not publish source files fa59926
  • ci: use central workflows file 41bb418
  • refactor: re-organize codebase to be more maintainable 6146b04
  • refactor: make interactions non-promises and make page assertions independent of Japa assert plugin 138a78c

Full Changelog: v2.0.0-0...v2.0.0-1