html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
60 lines (59 loc) • 3.78 kB
TypeScript
import actionNames from "../action-names";
import { Action } from "./types";
import { TreeViewMode } from "../../new-ui/types/store";
import { Page } from "../../../constants";
export type SuitesPageSetCurrentTreeNodeAction = Action<typeof actionNames.SUITES_PAGE_SET_CURRENT_SUITE, Partial<{
treeNodeId: string;
browserId: string;
groupId: string | null;
}>>;
export declare const setCurrentTreeNode: (payload: SuitesPageSetCurrentTreeNodeAction['payload']) => SuitesPageSetCurrentTreeNodeAction;
export type SuitesPageSetCurrentStepAction = Action<typeof actionNames.SUITES_PAGE_SET_CURRENT_STEP, Partial<{
stepId: string | null;
}>>;
export declare const setCurrentStep: (payload: SuitesPageSetCurrentStepAction['payload']) => SuitesPageSetCurrentStepAction;
export type SuitesPageSetCurrentHighlightStepAction = Action<typeof actionNames.SUITES_PAGE_SET_CURRENT_HIGHLIGHT_STEP, Partial<{
stepId: string | null;
}>>;
export declare const setCurrentHighlightStep: (payload: SuitesPageSetCurrentHighlightStepAction['payload']) => SuitesPageSetCurrentHighlightStepAction;
type SetTreeNodeExpandedStateAction = Action<typeof actionNames.SUITES_PAGE_SET_TREE_NODE_EXPANDED, {
nodeId: string;
isExpanded: boolean;
}>;
export declare const setTreeNodeExpandedState: (payload: SetTreeNodeExpandedStateAction['payload']) => SetTreeNodeExpandedStateAction;
type SetAllTreeNodesStateAction = Action<typeof actionNames.SUITES_PAGE_SET_ALL_TREE_NODES, {
isExpanded: boolean;
}>;
export declare const setAllTreeNodesState: (payload: SetAllTreeNodesStateAction['payload']) => SetAllTreeNodesStateAction;
type RevealTreeNodeAction = Action<typeof actionNames.SUITES_PAGE_REVEAL_TREE_NODE, {
nodeId: string;
}>;
export declare const revealTreeNode: (payload: RevealTreeNodeAction['payload']) => RevealTreeNodeAction;
type SetSectionExpandedStateAction = Action<typeof actionNames.SUITES_PAGE_SET_SECTION_EXPANDED, {
sectionId: string;
isExpanded: boolean;
}>;
export declare const setSectionExpandedState: (payload: SetSectionExpandedStateAction['payload']) => SetSectionExpandedStateAction;
type SetStepsExpandedStateAction = Action<typeof actionNames.SUITES_PAGE_SET_STEPS_EXPANDED, {
resultId: string;
expandedById: Record<string, boolean>;
}>;
export declare const setStepsExpandedState: (payload: SetStepsExpandedStateAction['payload']) => SetStepsExpandedStateAction;
type SetTreeViewModeAction = Action<typeof actionNames.SUITES_PAGE_SET_TREE_VIEW_MODE, {
treeViewMode: TreeViewMode;
}>;
export declare const setTreeViewMode: (payload: SetTreeViewModeAction['payload']) => SetTreeViewModeAction;
type SetSectionSizesAction = Action<typeof actionNames.PAGE_SET_SECTION_SIZES, {
sizes: number[];
page: Page;
}>;
export declare const setSectionSizes: (payload: SetSectionSizesAction['payload']) => SetSectionSizesAction;
type SetBackupSectionSizesAction = Action<typeof actionNames.PAGE_SET_BACKUP_SECTION_SIZES, {
sizes: number[];
page: Page;
}>;
export declare const setBackupSectionSizes: (payload: SetBackupSectionSizesAction['payload']) => SetBackupSectionSizesAction;
export type SetStrictMatchFilterAction = Action<typeof actionNames.VIEW_SET_STRICT_MATCH_FILTER, boolean>;
export declare const setStrictMatchFilter: (strictMatchFilter: SetStrictMatchFilterAction['payload']) => SetStrictMatchFilterAction;
export type SuitesPageAction = SetTreeNodeExpandedStateAction | SetAllTreeNodesStateAction | SuitesPageSetCurrentTreeNodeAction | SetSectionExpandedStateAction | SetStepsExpandedStateAction | RevealTreeNodeAction | SetTreeViewModeAction | SuitesPageSetCurrentStepAction | SuitesPageSetCurrentHighlightStepAction | SetSectionSizesAction | SetBackupSectionSizesAction | SetStrictMatchFilterAction;
export {};