(test)
| 2253 | } |
| 2254 | |
| 2255 | async _failed(test) { |
| 2256 | await this._withinEnd() |
| 2257 | |
| 2258 | if (this.options.trace) { |
| 2259 | await this.page.tracing.stop() |
| 2260 | const _traceName = this.currentRunningTest.artifacts.trace.replace('.json', '.failed.json') |
| 2261 | fs.renameSync(this.currentRunningTest.artifacts.trace, _traceName) |
| 2262 | test.artifacts.trace = _traceName |
| 2263 | } |
| 2264 | } |
| 2265 | |
| 2266 | async _passed(test) { |
| 2267 | await this._withinEnd() |
nothing calls this directly
no test coverage detected