UNPKG

@wdio/image-comparison-core

Version:

Image comparison core module for @wdio/visual-service - WebdriverIO visual testing framework

16 lines 921 B
import type { BaseImageCompareOptions, BaseMobileBlockOutOptions } from '../base.interfaces.js'; import type { RectanglesOutput } from '../methods/rectangles.interfaces.js'; export interface CoreCompareOptions extends BaseImageCompareOptions { blockOut?: RectanglesOutput[]; } export interface ScreenCompareOptions extends CoreCompareOptions, BaseMobileBlockOutOptions { } export interface WicCompareOptions extends BaseImageCompareOptions { /** Create a json file with the diff data, this can be used to create a custom report. */ createJsonReportFiles: boolean; /** The proximity of the diff pixels to determine if a diff pixel is part of a group, * the higher the number the more pixels will be grouped, the lower the number the less pixels will be grouped due to accuracy. * Default is 5 pixels */ diffPixelBoundingBoxProximity: number; } //# sourceMappingURL=compare.interfaces.d.ts.map