UNPKG

wdio-performancetotal-service

Version:

WebdriverIO service for analyzing test flow performance

27 lines (26 loc) 938 B
import { Options } from "./entities/options"; export default class PerformanceTotalService { _browser: WebdriverIO.Browser; _serviceOptions: Options; /** * `serviceOptions` contains all options specific to the service * e.g. if defined as follows: * * ``` * services: [['custom', { foo: 'bar' }]] * ``` * * the `serviceOptions` parameter will be: `{ foo: 'bar' }` */ constructor(serviceOptions: Options, capabilities: any, config: any); before(config: any, capabilities: any, browser: WebdriverIO.Browser): Promise<void>; afterTest(test: any, context: any, { error, result, duration, passed, retries }: { error: any; result: any; duration: any; passed: any; retries: any; }): Promise<void>; afterScenario(test: any, context: any): Promise<void>; after(exitCode: any, config: any, capabilities: any): Promise<void>; }