The most important change in this release is that you no longer have to pass a context
to happoPlaywright.init
. Your beforeAll
hook can now look like this:
test.beforeAll(async () => {
happoPlaywright.init();
});
All changes
- Update @playwright/test from 1.16.3 to 1.46.0, use node 20 instead of 18 in dev, add prettier config, and add yarn test command by @lencioni in #6
- Throw when promises are passed to screenshot by @lencioni in #7
- Simplify setup in happoPlaywright.init by @trotzig in #9
New Contributors
Full Changelog: v2.1.0...v2.2.0