bpms_site/.svn/pristine/34/34ddfd8d062f83f22589229acd4c9c28dcd4c468.svn-base
2025-11-02 16:38:49 +03:30

13 lines
523 B
Plaintext

import type { Page, TestInfo } from '@playwright/test';
import type { NextWorkerFixture, FetchHandler } from './next-worker-fixture';
import type { NextOptions } from './next-options';
export interface NextFixture {
onFetch: (handler: FetchHandler) => void;
}
export declare function applyNextFixture(use: (fixture: NextFixture) => Promise<void>, { testInfo, nextOptions, nextWorker, page, }: {
testInfo: TestInfo;
nextOptions: NextOptions;
nextWorker: NextWorkerFixture;
page: Page;
}): Promise<void>;