Version 1.3.0
Features:
- Allowed ability to configure launch options browser: #188 #192 #193
- Added ability to use RegExp pattern to define devices: #195
- Added ability to pass new context options to reset functions: #212 #213
- Added ability to check
jest-playwright.config.cjs
if package type is module: #214 #215 - Updated dependencies
Unstable features:
BREAKING:
Changed jestPlaywright
skip API #241:
// BEFORE
jestPlaywright.skip({ browsers: ['chromium'] }, () => {
test('should skip this one', async () => {
const title = await page.title()
expect(title).toBe('Google')
})
})
// AFTER
it.jestPlaywrightSkip({ browsers: ['chromium'] }, 'should skip this one', async () => {
const title = await page.title()
expect(title).toBe('Google')
})