UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

23 lines (22 loc) 1.44 kB
import actionNames from "../action-names"; import { Action } from "./types"; import { DiffModeId, TwoUpFitMode } from "../../../constants"; export type VisualChecksPageSetCurrentNamedImageData = { currentBrowserId?: string; stateName?: string; }; export type VisualChecksPageSetCurrentNamedImageAction = Action<typeof actionNames.VISUAL_CHECKS_PAGE_SET_CURRENT_NAMED_IMAGE, VisualChecksPageSetCurrentNamedImageData>; export declare const visualChecksPageSetCurrentNamedImage: (data: VisualChecksPageSetCurrentNamedImageData) => VisualChecksPageSetCurrentNamedImageAction; export type Toggle2UpDiffVisibilityAction = Action<typeof actionNames.VISUAL_CHECKS_TOGGLE_2UP_DIFF_VISIBILITY, { isVisible: boolean; }>; export declare const toggle2UpDiffVisibility: (isVisible: boolean) => Toggle2UpDiffVisibilityAction; export type Set2UpFitModeAction = Action<typeof actionNames.VISUAL_CHECKS_SET_2UP_FIT_MODE, { fitMode: TwoUpFitMode; }>; export declare const set2UpFitMode: (fitMode: TwoUpFitMode) => Set2UpFitModeAction; export type SetVisualChecksDiffModeAction = Action<typeof actionNames.VISUAL_CHECKS_SET_DIFF_MODE, { diffModeId: DiffModeId; }>; export declare const setVisualChecksDiffMode: (diffModeId: DiffModeId) => SetVisualChecksDiffModeAction; export type VisualChecksPageAction = VisualChecksPageSetCurrentNamedImageAction | Toggle2UpDiffVisibilityAction | Set2UpFitModeAction | SetVisualChecksDiffModeAction;