diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.ts index 3389691da..5a473a920 100644 --- a/e2e/playwright.config.ts +++ b/e2e/playwright.config.ts @@ -72,6 +72,9 @@ export default defineConfig({ /* Base URL to use in actions like `await page.goto('/')`. */ baseURL: process.env.E2E_BASE_URL || 'http://localhost:4242', + /* Configure downloads to go to test output directory, not ~/Downloads */ + downloadsPath: path.join(__dirname, '..', '.tmp', 'e2e-test-results', 'downloads'), + /* Collect trace on failure for better debugging. See https://playwright.dev/docs/trace-viewer */ trace: 'retain-on-failure',