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.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”() => T | Promise<T>
Returns
Section titled “Returns”Promise<T>