UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

23 lines (22 loc) 781 B
export type SnapshotDetailLevel = /** * Details of snapshot, e.g., screenshot or detected elements, may or may not be available * depending on if they are required by the step. There are not guarantees made. */ 'required' | /** * Details are available when the step fails, e.g., for debugging. * Includes everything of required. */ 'onFailure' | /** * Details are available also when the command is started, e.g., * for detecting why a certain element was interacted with. Includes everything of onFailure. */ 'begin' | /** * Details are available always, e.g., * before and after a step has been run no matter if it failed or not for debugging. */ 'always'; export declare function maxSnapshotDetailLevel(...levels: SnapshotDetailLevel[]): SnapshotDetailLevel;