html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
49 lines (48 loc) • 2.17 kB
TypeScript
export function isSuiteIdle(suite: any): boolean;
export function isSuiteSuccessful(suite: any): boolean;
export function isNodeFailed(node: any): boolean;
export function isNodeStaged(node: any): boolean;
export function isNodeSuccessful(node: any): boolean;
/**
* @param {Object} params
* @param {string} params.status
* @param {Object} [params.error]
* @returns {boolean}
*/
export function isAcceptable({ status, error }: {
status: string;
error?: Object | undefined;
}): boolean;
export function isScreenRevertable({ gui, image, isLastResult, isStaticImageAccepterEnabled }: {
gui: any;
image: any;
isLastResult: any;
isStaticImageAccepterEnabled: any;
}): any;
export function dateToLocaleString(date: any): string;
export function getHttpErrorMessage(error: any): any;
export function legacyIsTestNameMatch(testName: any, browserName: any, testNameFilter: any, strictMatchFilter: any): boolean;
export function matchTestName(testName: any, browserName: any, testNameFilter: any, { strictMatchFilter, useMatchCaseFilter, useRegexFilter, isNewUi }: {
strictMatchFilter: any;
useMatchCaseFilter?: boolean | undefined;
useRegexFilter?: boolean | undefined;
isNewUi?: boolean | undefined;
} | undefined, fuseSearchFound: any): any;
export function isBrowserMatchViewMode(browser: any, lastResultStatus: any, viewMode: any, diff?: any): boolean;
export function shouldShowBrowser(browser: any, filteredBrowsers: any, diff?: any): boolean;
export function iterateSuites(node: any, { suiteCb, browserCb, browserIdsCb }: {
suiteCb: any;
browserCb: any;
browserIdsCb: any;
}): any[];
export function parseKeyToGroupTestsBy(key: any): any[];
export function getBlobWithRetires(url: any, retriesCount?: number): Promise<any>;
/**
* Converts text between English and Russian keyboard layouts.
* Useful when text was typed with the wrong keyboard layout.
*/
export function keyboardLayoutConverter(text: any): any;
import { applyStateUpdate } from './state';
import { ensureDiffProperty } from './state';
import { getUpdatedProperty } from './state';
export { applyStateUpdate, ensureDiffProperty, getUpdatedProperty };