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(playwright-test): _removeOutputDirs called without await always returns truthy (#19771)
Michael Glass13c5019ac9ca
diff --git a/packages/playwright-test/src/runner.ts b/packages/playwright-test/src/runner.tsindex f9b7ca23f2..e9cb606c20 100644--- a/packages/playwright-test/src/runner.ts+++ b/packages/playwright-test/src/runner.ts@@ -472,7 +472,7 @@ export class Runner {return { status: 'passed' };// Remove output directores.- if (!this._removeOutputDirs(options))+ if (!await this._removeOutputDirs(options))return { status: 'failed' };// Run Global setup.