Releases: playwright-community/jest-playwright
Releases · playwright-community/jest-playwright
Version 1.4.4
Version 1.4.3
- Types fixes and improvements #486
- docs: Fixed
jestPlaywrightDebug
docs re:headless
mode #493 by @russelldavis - docs: Fixed links in the README #496 by @ocavue
- Added ability to set test color #495 by @ocavue
- Fixed some outdated error messages #498 by @ocavue
- Added
jest-runner
as dependency #507 by @RobinVdBroeck - Fixed
connectOptions
issue #505 by @aha-oretama - docs: Removed outdated section about
query-selector-shadow-dom
#497 by @russelldavis - Fixed
axios
vulnerability #522 #523
Version 1.4.2
Version 1.4.1
Version 1.4.0
Features
- Added debug helpers #216 #226 #233 #246 #266
- Added ability to use
defaultBrowserType
of devices to run tests #332 #351 - Added ability to skip initial configuration of playwright with skipInitialization option #424 #425
- Made
jestPlaywright.configSeparateEnv
public method #424 #425 - Rewrite running multiple tests for browsers and devices #351 #332
- Remove check validation options #350
Fixes
Added ability to skip initial configuration
Added ability to configure tests for devices
Fixes and general improvemnts
Version 1.3.1
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')
})