@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
19 lines • 744 B
TypeScript
/**
* Prepare css rule to hide specific blocks
*
* Should be called only once during the visual test.
* @note this function is evaluated in the context of the page and should not use external variables
* @param ignoreClass
*/
export declare function prepareVisualTesting(ignoreClass?: string): void;
/**
* Determine if the visual testing is enabled
*/
export declare function isVisualTestingEnabled(): boolean;
/**
* Toggle the visual testing view : if it is active, will hide tagged components as grey blocks.
* @note this function is evaluated in the context of the page and cannot use external code
* @param enabled
*/
export declare function toggleVisualTestingRender(enabled: boolean): void;
//# sourceMappingURL=utils.d.ts.map