UNPKG

ui-omakase-framework

Version:

A comprehensive E2E testing framework library with pre-built Cucumber step definitions and utilities for web automation testing

41 lines (40 loc) 1.08 kB
import { GlobalConfig } from './env/global'; export interface FrameworkConfigOptions { /** * Path to the consumer project's config directory * This should contain the mappings, json_payloads, emails.json, etc. */ configPath?: string; /** * Path to the consumer project's env directory */ envPath?: string; /** * Environment name (e.g., 'localhost', 'production') */ environment?: string; /** * Common config file path */ commonConfigFile?: string; /** * Features path pattern for Cucumber */ featuresPath?: string; /** * Custom step definitions path (additional to framework's step definitions) */ customStepDefsPath?: string; } export interface FrameworkConfig { worldParameters: GlobalConfig; cucumberConfig: { dev: string; smoke: string; regression: string; }; } /** * Creates a framework configuration for consumer projects */ export declare function createFrameworkConfig(options?: FrameworkConfigOptions): FrameworkConfig;