UNPKG

@dhlab/e2e-autogen

Version:

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

38 lines (33 loc) 1.02 kB
type TE2EAutogenConfig = { sheetsUrl: string; framework: TSupportedFramework; stubOutputFolder: string; jsonReporterFile: string; credentialsFile: string; googleSheetColumns: TGoogleSheetColumns; mswHandlersFile: string; }; type TGoogleSheetColumns = { scenarioId: string; scenarioDescription: string; uiPath: string; when: string; then: string; testId: string; tag: string; comment: string; }; type TSupportedFramework = "playwright" | "detox"; declare const loadUserConfig: () => Promise<TE2EAutogenConfig>; declare const defineConfig: (config: TUserConfig) => TE2EAutogenConfig; type TUserConfig = { sheetsUrl: string; framework?: "playwright" | "detox"; stubOutputFolder?: string; jsonReporterFile?: string; credentialsFile?: string; googleSheetColumns?: TE2EAutogenConfig["googleSheetColumns"]; mswHandlersFile?: string; }; export { defineConfig, loadUserConfig }; export type { TE2EAutogenConfig, TGoogleSheetColumns };