Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(dashboard): clean up temp recording directory on close (#40751)
Sebastien Tardif4d09792a0faf
diff --git a/packages/playwright-core/src/tools/dashboard/dashboardController.ts b/packages/playwright-core/src/tools/dashboard/dashboardController.tsindex f27ecb3e0a..670eed56f6 100644--- a/packages/playwright-core/src/tools/dashboard/dashboardController.ts+++ b/packages/playwright-core/src/tools/dashboard/dashboardController.ts@@ -84,6 +84,7 @@ export class DashboardConnection implements Transport {.catch(() => {});}this._streams.clear();+ void fs.promises.rm(this._recordingDir, { recursive: true, force: true }).catch(() => {});this._onclose();}