(test)
| 2264 | } |
| 2265 | |
| 2266 | async _passed(test) { |
| 2267 | await this._withinEnd() |
| 2268 | |
| 2269 | if (this.options.trace) { |
| 2270 | await this.page.tracing.stop() |
| 2271 | if (this.options.keepTraceForPassedTests) { |
| 2272 | const _traceName = this.currentRunningTest.artifacts.trace.replace('.json', '.passed.json') |
| 2273 | fs.renameSync(this.currentRunningTest.artifacts.trace, _traceName) |
| 2274 | test.artifacts.trace = _traceName |
| 2275 | } else { |
| 2276 | fs.unlinkSync(this.currentRunningTest.artifacts.trace) |
| 2277 | } |
| 2278 | } |
| 2279 | } |
| 2280 | |
| 2281 | /** |
| 2282 | * {{> wait }} |
nothing calls this directly
no test coverage detected