Configures test result output directory

Configures the test result output directory to 'artifacts/test-results'.
This change centralizes test artifacts for easier access and management.
This commit is contained in:
maguire-arman 2025-04-08 15:43:50 -04:00
parent 6f50085aa5
commit c25ec11f92

View file

@ -56,6 +56,7 @@ export default defineConfig({
],
timeout: 180_000,
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
outputDir: 'artifacts/test-results',
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
// baseURL: 'http://127.0.0.1:3000',
@ -65,7 +66,7 @@ export default defineConfig({
headless: process.env.CI ? true : false,
screenshot: "only-on-failure",
actionTimeout: 60_000,
navigationTimeout: 60_000
navigationTimeout: 60_000,
},
/* Configure projects for major browsers */