Skip to content

Upgrading @playwright/test 0.1100 to 0.1101

Unknown0.1100.0 → 0.1101.0

Fetching 3 releases from GitHub…0 / 3
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: const afterAll: (inner: (fixtures: { testWorkerIndex: number } & PlaywrightWorkerFixtures) => Promise<void>) => void
  • removed: const afterEach: (inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testParametersPathSegm…
  • removed: const beforeAll: (inner: (fixtures: { testWorkerIndex: number } & PlaywrightWorkerFixtures) => Promise<void>) => void
  • removed: const beforeEach: (inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testParametersPathSegm…
  • removed: const describe: { (name: string, inner: () => void): void; (name: string, modifierFn: (modifier: import('folio/out/testModifier').TestModifier, parameters: PlaywrightParameter…
  • removed: const fit: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa…
  • removed: const folio: import('folio').Folio<{ testInfo: import('folio').TestInfo; testParametersPathSegment: string } & PlaywrightTestFixtures, { testWorkerIndex: number } & Playwri…
  • removed: const it: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa…
  • removed: const xit: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa…
  • removed: export { config } from 'folio'
  • removed: export { expect } from 'folio'
  • changed: const test: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa… → const test: folio.TestType<PlaywrightTestArgs, PlaywrightTestOptions>
  • added: class ChromiumEnv extends PlaywrightEnv
  • added: class FirefoxEnv extends PlaywrightEnv
  • added: class PlaywrightEnv implements folio.Env<PlaywrightTestArgs>
  • added: class WebKitEnv extends PlaywrightEnv
  • added: constructor ChromiumEnv(options?: PlaywrightOptions)
  • added: constructor FirefoxEnv(options?: PlaywrightOptions)
  • added: constructor PlaywrightEnv(browserName: BrowserName, options?: PlaywrightOptions)
  • added: constructor WebKitEnv(options?: PlaywrightOptions)
  • added: export * from 'folio'
  • added: export { BrowserContextOptions } from 'playwright'
  • added: export { LaunchOptions } from 'playwright'
  • added: function newTestType<TestArgs = {}, TestOptions = {}>(): folio.TestType<TestArgs & PlaywrightTestArgs, TestOptions & PlaywrightTestOptions>
  • added: method PlaywrightEnv.afterAll(): Promise<void>
  • added: method PlaywrightEnv.afterEach(testInfo: folio.TestInfo): Promise<void>
  • added: method PlaywrightEnv.beforeAll(): Promise<void>
  • added: method PlaywrightEnv.beforeEach(testInfo: folio.TestInfo): Promise<{ playwright: typeof import('playwright'); browserName: 'chromium' | 'firefox' | 'webkit'; browser: Browser; context: BrowserContext; page: Page }>
  • added: type BrowserName = 'chromium' | 'firefox' | 'webkit'
  • added: type PlaywrightOptions = LaunchOptions & BrowserContextOptions & { screenshot?: 'off' | 'on' | 'only-on-failure'; video?: 'off' | 'on' | 'retain-on-failure' | 'retry-with-video'; snaps…
  • added: type PlaywrightTestArgs = { playwright: typeof import('playwright'); browserName: BrowserName; browser: Browser; context: BrowserContext; page: Page }