Skip to content

Releases: playwright-community/jest-playwright

Version 1.4.4

11 Jan 18:26
Compare
Choose a tag to compare
  • Fixed wrong behaviour of debug helper functions #494 #525
  • Added some information about debug helper functions to clarify the usage #525

Version 1.4.3

05 Jan 17:29
Compare
Choose a tag to compare

Version 1.4.2

04 Dec 20:11
Compare
Choose a tag to compare
  • Documentation improvements #477 #479
  • Added types for describe #478 #479
  • Some other improvements and fixes #479
  • Bump dependencies

Version 1.4.1

19 Nov 08:07
Compare
Choose a tag to compare
  • Updated dependencies
  • Fixed #464 by #465

Version 1.4.0

04 Nov 13:32
Compare
Choose a tag to compare

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

  • Bump dependencies
  • Fixed isMobile for Firefox #337 #338
  • Fixed closing page #343 #347
  • Fixed logic for passed wsEndpoint #358 #367
  • Documentation fixes and improvements

Added ability to skip initial configuration

25 Oct 15:37
Compare
Choose a tag to compare
  • Added ability to skip initial configuration of playwright with skipInitialization option (#424, #425)
  • Made jestPlaywright.configSeparateEnv public method (#424, #425)
  • Some internal rewritings

Added ability to configure tests for devices

12 Oct 13:41
Compare
Choose a tag to compare

Docs

  • Added testEnvironmentOptions option to docs (#378)
  • Fixed link to list of device descriptors (#393)

Features

  • Rewrite running multiple tests for browsers and devices (#351, #332)
  • Remove check validation options (#350)
  • Bump dependencies

Fixes and general improvemnts

23 Sep 06:08
Compare
Choose a tag to compare
Pre-release
  • Updated dependencies
  • Fixed isMobile for Firefox #337 #338
  • Fixed closing page #343 #347
  • Fixed logic for passed wsEndpoint #358 #367

Version 1.3.1

10 Aug 07:05
Compare
Choose a tag to compare
  • Updated dependencies
  • Bump jest and playwright
  • Added ability to config debugOptions with jest-playwright.config #266
  • Added ability to pass config with jest config #282

Version 1.3.0

27 Jul 07:36
Compare
Choose a tag to compare

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')
})

Fixes: