@badeball/cypress-cucumber-preprocessor
Version:
[](https://github.com/badeball/cypress-cucumber-preprocessor/actions/workflows/build.yml) [ • 3.09 kB
TypeScript
import DataTable from "./data_table";
import { ICaseHookBody, ICaseHookOptions, IParameterTypeDefinition, IRunHookBody, IRunHookOptions, IStepDefinitionBody, IStepHookBody, IStepHookOptions } from "./public-member-types";
export { addCucumberPreprocessorPlugin } from "./add-cucumber-preprocessor-plugin";
export { afterRunHandler, afterScreenshotHandler, afterSpecHandler, beforeRunHandler, beforeSpecHandler, } from "./plugin-event-handlers";
export { IPreprocessorConfiguration, resolve as resolvePreprocessorConfiguration, } from "./preprocessor-configuration";
export declare function isFeature(): boolean;
export declare function doesFeatureMatch(expression: string): boolean;
export declare function defineStep<T extends unknown[], C extends Mocha.Context>(description: string | RegExp, implementation: IStepDefinitionBody<T, C>): void;
export { defineStep as Given, defineStep as Then, defineStep as When };
export declare function Step(world: Mocha.Context, text: string, argument?: DataTable | string): void;
export declare function defineParameterType<T, C extends Mocha.Context>(options: IParameterTypeDefinition<T, C>): void;
export declare function attach(data: string | ArrayBuffer, mediaTypeOrOptions?: string | {
mediaType: string;
fileName?: string;
}): Cypress.Chainable;
export declare function log(text: string): Cypress.Chainable;
export declare function link(text: string): Cypress.Chainable;
export declare function Before<C extends Mocha.Context>(options: string, fn: ICaseHookBody<C>): void;
export declare function Before<C extends Mocha.Context>(options: ICaseHookOptions, fn: ICaseHookBody<C>): void;
export declare function Before<C extends Mocha.Context>(fn: ICaseHookBody<C>): void;
export declare function After<C extends Mocha.Context>(options: string, fn: ICaseHookBody<C>): void;
export declare function After<C extends Mocha.Context>(options: ICaseHookOptions, fn: ICaseHookBody<C>): void;
export declare function After<C extends Mocha.Context>(fn: ICaseHookBody<C>): void;
export declare function BeforeStep<C extends Mocha.Context>(options: string, fn: IStepHookBody<C>): void;
export declare function BeforeStep<C extends Mocha.Context>(options: IStepHookOptions, fn: IStepHookBody<C>): void;
export declare function BeforeStep<C extends Mocha.Context>(fn: IStepHookBody<C>): void;
export declare function AfterStep<C extends Mocha.Context>(options: string, fn: IStepHookBody<C>): void;
export declare function AfterStep<C extends Mocha.Context>(options: IStepHookOptions, fn: IStepHookBody<C>): void;
export declare function AfterStep<C extends Mocha.Context>(fn: IStepHookBody<C>): void;
export declare function BeforeAll<C extends Mocha.Context>(options: IRunHookOptions, fn: IRunHookBody<C>): void;
export declare function BeforeAll<C extends Mocha.Context>(fn: IRunHookBody<C>): void;
export declare function AfterAll<C extends Mocha.Context>(options: IRunHookOptions, fn: IRunHookBody<C>): void;
export declare function AfterAll<C extends Mocha.Context>(fn: IRunHookBody<C>): void;
export { default as DataTable } from "./data_table";