@wdio/appium-service
Version:
A WebdriverIO service to start & stop Appium Server
16 lines • 805 B
TypeScript
import type { Options, Reporters } from '@wdio/types';
import type { AppiumServiceConfig } from '../../types.js';
/**
* Checks if a reporter with the given name is already registered in the config.
*/
export declare function isReporterRegistered(reporters: Reporters.ReporterEntry[], reporterName: string): boolean;
/**
* Determines the report directory path using the fallback chain:
* 1. reportPath from trackSelectorPerformance service options
* 2. config.outputDir
* 3. appiumServiceOptions.logPath
* 4. appiumServiceOptions.args.log (directory from log file path)
* 5. Throws error if none are set
*/
export declare function determineReportDirectory(reportPath?: string, config?: Options.Testrunner, appiumServiceOptions?: AppiumServiceConfig): string;
//# sourceMappingURL=reporter.d.ts.map