UNPKG

@uuv/playwright

Version:

A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and playwright

17 lines (16 loc) 636 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.buildConfig = buildConfig; const playwright_bdd_1 = require("playwright-bdd"); function buildConfig(features, steps = [ "../node_modules/@uuv/playwright/dist/cucumber/preprocessor/index.js", "cucumber/step_definitions/**/*.{js,ts}", "../node_modules/@uuv/playwright/dist/cucumber/step_definitions/playwright/**/*.js" ], output = ".uuv-features-gen", featuresRoot) { return (0, playwright_bdd_1.defineBddConfig)({ features: features, steps: steps, outputDir: output, featuresRoot: featuresRoot }); }