WdioObsidianConfig
The WebdriverIO configuration defineWdioObsidianConfig returns. Every field is plain data, so a project changes any of them by spreading the result: { ...defineWdioObsidianConfig(), logLevel: 'info' }.
Import:
import type { WdioObsidianConfig } from '@mnaoumov/obsidian-dev-toolkit/test-runners/wdio-obsidian';Signature:
export interface WdioObsidianConfigProperties
| Property | Type | Description |
|---|---|---|
| cacheDir | string | Where Obsidian versions are downloaded. |
| capabilities | WdioObsidianCapability[] | One capability per Obsidian version. |
| framework | 'mocha' | The test framework. |
| logLevel | 'debug' | 'error' | 'info' | 'silent' | 'trace' | 'warn' | WebdriverIO's log level. |
| maxInstances? | number | How many Obsidian instances run in parallel. |
| mochaOpts | WdioObsidianMochaOptions | Mocha's options. |
| reporters | string[] | The reporters. obsidian is the spec reporter, naming the Obsidian version instead of Chromium's. |
| runner | 'local' | Where the specs run. |
| services | string[] | The services. obsidian is wdio-obsidian-service. |
| specs | string[] | The spec files. |
Links to this page: