playwright-bdd
Version:
BDD Testing with Playwright runner
16 lines • 636 B
TypeScript
import { GherkinDocumentWithPickles } from './types';
type NewId = () => string;
/**
* Adds tags inferred from feature file paths to the parsed Gherkin model.
* Cucumber reports read tags from GherkinDocument/Pickle messages, so path tags must be injected
* there in addition to being used by generated Playwright tests.
*/
export declare class TagsFromPathInjector {
private newId;
constructor(newId: NewId);
inject(gherkinDocument: GherkinDocumentWithPickles): GherkinDocumentWithPickles;
private injectTagsInFeature;
private injectTagsInPickles;
}
export {};
//# sourceMappingURL=TagsFromPathInjector.d.ts.map