Skip to content

forceScreenshots

forceScreenshots<T>(fn): Promise<T>

Defined in: fixture.ts:458

Run fn with screenshots always captured, overriding suppressScreenshots() blocks around it and within it alike. The common use is wrapping a helper that suppresses its own screenshots (logging in, seeding data), in the one test where that routine flow is the actual functionality under test.

T

() => T | Promise<T>

Promise<T>