UNPKG

tlc-core-automation-framework-v3-wdio-v9

Version:

Background: - We are following multi-layer automation framework architecture using webdriver.io + cucumber + typescript This core framework has been implemented with generic utility functions and cucumber steps, which can be easily consumed by another fra

12 lines 1.07 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const cucumber_1 = require("@cucumber/cucumber"); const scriptExecute_1 = __importDefault(require("../helpers/framework-helpers/action/scriptExecute")); (0, cucumber_1.Given)(/^I execute the script "([^"]*)"$/, async (script) => { console.log(`I execute the script ${script}`); await (0, scriptExecute_1.default)(script); }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NyaXB0LXN0ZXBzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2UyZS9zdGVwLWRlZmluaXRpb25zL3NjcmlwdC1zdGVwcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGlEQUF5QztBQUN6QyxzR0FBOEU7QUFFOUUsSUFBQSxnQkFBSyxFQUFDLGtDQUFrQyxFQUFFLEtBQUssRUFBRSxNQUFjLEVBQUUsRUFBRTtJQUMvRCxPQUFPLENBQUMsR0FBRyxDQUFDLHdCQUF3QixNQUFNLEVBQUUsQ0FBQyxDQUFDO0lBQzlDLE1BQU0sSUFBQSx1QkFBYSxFQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQ2hDLENBQUMsQ0FBQyxDQUFDIn0=