We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fc6e41 commit 506eb09Copy full SHA for 506eb09
1 file changed
lib/helper/Playwright.js
@@ -2610,6 +2610,12 @@ class Playwright extends Helper {
2610
}
2611
2612
async _passed(test) {
2613
+ await this._withinEnd()
2614
+
2615
+ if (!test.artifacts) {
2616
+ test.artifacts = {}
2617
+ }
2618
2619
if (this.options.recordVideo && this.page && this.page.video()) {
2620
if (this.options.keepVideoForPassedTests) {
2621
test.artifacts.video = saveVideoForPage(this.page, `${test.title}.passed`)
0 commit comments