Upgrading @playwright/test 0.1101 to 0.1102
Unknown0.1101.0 → 0.1102.0
Fetching 2 releases from GitHub…0 / 2
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- 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.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
class ChromiumEnv extends PlaywrightEnv - removed:
class FirefoxEnv extends PlaywrightEnv - removed:
class PlaywrightEnv implements folio.Env<PlaywrightTestArgs> - removed:
class WebKitEnv extends PlaywrightEnv - removed:
constructor ChromiumEnv(options?: PlaywrightOptions) - removed:
constructor FirefoxEnv(options?: PlaywrightOptions) - removed:
constructor PlaywrightEnv(browserName: BrowserName, options?: PlaywrightOptions) - removed:
constructor WebKitEnv(options?: PlaywrightOptions) - removed:
export * from 'folio' - removed:
export { BrowserContextOptions } from 'playwright' - removed:
export { LaunchOptions } from 'playwright' - removed:
function newTestType<TestArgs = {}, TestOptions = {}>(): folio.TestType<TestArgs & PlaywrightTestArgs, TestOptions & PlaywrightTestOptions> - removed:
method PlaywrightEnv.afterAll(): Promise<void> - removed:
method PlaywrightEnv.afterEach(testInfo: folio.TestInfo): Promise<void> - removed:
method PlaywrightEnv.beforeAll(): Promise<void> - removed:
method PlaywrightEnv.beforeEach(testInfo: folio.TestInfo): Promise<{ playwright: typeof import('playwright'); browserName: 'chromium' | 'firefox' | 'webkit'; browser: Browser; context: BrowserContext; page: Page }> - removed:
type BrowserName = 'chromium' | 'firefox' | 'webkit' - removed:
type PlaywrightOptions = LaunchOptions & BrowserContextOptions & { screenshot?: 'off' | 'on' | 'only-on-failure'; video?: 'off' | 'on' | 'retain-on-failure' | 'retry-with-video'; snaps… - removed:
type PlaywrightTestArgs = { playwright: typeof import('playwright'); browserName: BrowserName; browser: Browser; context: BrowserContext; page: Page } - changed:
const test: folio.TestType<PlaywrightTestArgs, PlaywrightTestOptions> → const test: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa… - added:
const afterAll: (inner: (fixtures: { testWorkerIndex: number } & PlaywrightWorkerFixtures) => Promise<void>) => void - added:
const afterEach: (inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testParametersPathSegm… - added:
const beforeAll: (inner: (fixtures: { testWorkerIndex: number } & PlaywrightWorkerFixtures) => Promise<void>) => void - added:
const beforeEach: (inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testParametersPathSegm… - added:
const describe: { (name: string, inner: () => void): void; (name: string, modifierFn: (modifier: import('folio/out/testModifier').TestModifier, parameters: PlaywrightParameter… - added:
const fit: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa… - added:
const folio: import('folio').Folio<{ testInfo: import('folio').TestInfo; testParametersPathSegment: string } & PlaywrightTestFixtures, { testWorkerIndex: number } & Playwri… - added:
const it: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa… - added:
const xit: { (name: string, inner: (fixtures: PlaywrightParameters & { testWorkerIndex: number } & PlaywrightWorkerFixtures & { testInfo: import('folio').TestInfo; testPa… - added:
export { config } from 'folio' - added:
export { expect } from 'folio'