Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(html): fix extraneous doublequote in payload (#36796)

Adam Gastineau50f25fcd0185
diff --git a/packages/playwright/src/reporters/html.ts b/packages/playwright/src/reporters/html.ts
index cf72861604..35d0443aa3 100644
--- a/packages/playwright/src/reporters/html.ts
+++ b/packages/playwright/src/reporters/html.ts
@@ -381,7 +381,7 @@ class HtmlBuilder {
.pipe(fs.createWriteStream(filePath, { flags: 'a' })).on('close', f);
});
});
- fs.appendFileSync(filePath, '"</script>');
+ fs.appendFileSync(filePath, '</script>');
}
private _addDataFile(fileName: string, data: any) {