UNPKG

@mmisty/cypress-allure-adapter

Version:

cypress allure adapter to generate allure results during tests execution (Allure TestOps compatible)

11 lines (10 loc) 639 B
import { ExecutableItem } from 'allure-js-commons/dist/esm'; /** * 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[];