/** * The case a worker is running, for a party in the worker that has something * to hand it. * * Eyes closes one journal per test and has no way to name the test that the * record would join: the runner's `testId` is not the case id, and a title is * not unique. So it names none. It hands the journal to whatever case is * running, and the recorder — which already names that case for its crossings — * keeps it there, under the attempt the runner counts. * * The scope sits where Sense's own runner seams put theirs, under one realm * symbol, so a producer asks one place whichever runner it runs in. It is there * only while a recording run is inside a test: outside one, or in a run that * does not record, a producer finds nothing and keeps its journal to itself. */ import type { TestInfo } from '@playwright/test'; import type { ExecutionRecorder } from './execution.js'; /** * Open the scope for one test, and return what closes it. * * The attempt is `retry + 1`: the record counts from 1 and a first run is not * a retry. A scope something else installed is left as it was found. */ export declare function enterCase(recorder: ExecutionRecorder, testInfo: TestInfo): () => void; //# sourceMappingURL=case-scope.d.ts.map