@mmisty/cypress-allure-adapter
Version:
cypress allure adapter to generate allure results during tests execution (Allure TestOps compatible)
13 lines (12 loc) • 671 B
TypeScript
import { StepResult } from 'allure-js-commons';
type ExecutableItem = StepResult;
/**
* Recursively merge the steps when a step has single child with the same name
* Delete first child when it has the same name as parent
* @param steps
*/
export declare function mergeStepsWithSingleChild(steps: ExecutableItem[]): void;
export declare function removeFirstStepWhenSame(steps: ExecutableItem[]): ExecutableItem[];
export declare function removeStepsByName(steps: ExecutableItem[], commands: string[]): ExecutableItem[];
export declare const wrapHooks: (stepName: "\"before each\" hook" | "\"after each\" hook", steps: ExecutableItem[]) => ExecutableItem[];
export {};