Skip to content

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 WdioObsidianConfig

Properties

PropertyTypeDescription
cacheDirstringWhere Obsidian versions are downloaded.
capabilitiesWdioObsidianCapability[]One capability per Obsidian version.
framework'mocha'The test framework.
logLevel'debug' | 'error' | 'info' | 'silent' | 'trace' | 'warn'WebdriverIO's log level.
maxInstances?numberHow many Obsidian instances run in parallel.
mochaOptsWdioObsidianMochaOptionsMocha's options.
reportersstring[]The reporters. obsidian is the spec reporter, naming the Obsidian version instead of Chromium's.
runner'local'Where the specs run.
servicesstring[]The services. obsidian is wdio-obsidian-service.
specsstring[]The spec files.

Links to this page: