UNPKG

@dhlab/e2e-autogen

Version:

Google 스프레드시트 기반 시나리오를 Playwright 테스트 스텁 코드로 자동 생성하고, 테스트 실행 결과를 다시 시트에 업데이트하는 CLI 도구

23 lines (22 loc) 839 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.defineConfig = void 0; const defineConfig = (config) => { return { framework: config.framework ?? "playwright", sheetsUrl: config.sheetsUrl, stubOutputFolder: config.stubOutputFolder ?? "./playwright/__generated-stub__", jsonReporterFile: config.jsonReporterFile ?? "./playwright/e2e-autogen-reporter.json", credentialsFile: config.credentialsFile ?? "./playwright/.auth/credentials.json", googleSheetColumns: config.googleSheetColumns ?? { scenarioId: "A", scenarioDescription: "B", uiPath: "C", action: "D", expected: "E", testId: "F", tag: "G", comment: "H", }, }; }; exports.defineConfig = defineConfig;