Skip to content

Version 1.3.0

Compare
Choose a tag to compare
@mmarkelov mmarkelov released this 27 Jul 07:36

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: