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

Method onSpecRetry

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

Source from the content-addressed store, hash-verified

124 }
125
126 onSpecRetry(rid: string, job?: Workers.Job, retries = 0) {
127 const delayMsg = this._specFileRetriesDelay > 0 ? ` after ${this._specFileRetriesDelay}s` : ''
128 this.onJobComplete(rid, job, retries, chalk.bold(chalk.yellow('RETRYING') + delayMsg))
129 }
130
131 onSpecPass(rid: string, job?: Workers.Job, retries = 0) {
132 this.onJobComplete(rid, job, retries, chalk.bold(chalk.green('PASSED')))

Callers 2

clearJobMethod · 0.95
interface.test.tsFile · 0.80

Calls 2

onJobCompleteMethod · 0.95
boldMethod · 0.80

Tested by

no test coverage detected