MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / onSpecFailure

Method onSpecFailure

packages/wdio-cli/src/interface.ts:135–137  ·  view source on GitHub ↗
(rid: string, job?: Workers.Job, retries = 0)

Source from the content-addressed store, hash-verified

133 }
134
135 onSpecFailure(rid: string, job?: Workers.Job, retries = 0) {
136 this.onJobComplete(rid, job, retries, chalk.bold(chalk.red('FAILED')))
137 }
138
139 onSpecSkip(rid: string, job?: Workers.Job) {
140 this.onJobComplete(rid, job, 0, 'SKIPPED', log.info)

Callers 1

clearJobMethod · 0.95

Calls 2

onJobCompleteMethod · 0.95
boldMethod · 0.80

Tested by

no test coverage detected