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:
parent
6f50085aa5
commit
c25ec11f92
1 changed files with 2 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ export default defineConfig({
|
||||||
],
|
],
|
||||||
timeout: 180_000,
|
timeout: 180_000,
|
||||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||||
|
outputDir: 'artifacts/test-results',
|
||||||
use: {
|
use: {
|
||||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||||
// baseURL: 'http://127.0.0.1:3000',
|
// baseURL: 'http://127.0.0.1:3000',
|
||||||
|
|
@ -65,7 +66,7 @@ export default defineConfig({
|
||||||
headless: process.env.CI ? true : false,
|
headless: process.env.CI ? true : false,
|
||||||
screenshot: "only-on-failure",
|
screenshot: "only-on-failure",
|
||||||
actionTimeout: 60_000,
|
actionTimeout: 60_000,
|
||||||
navigationTimeout: 60_000
|
navigationTimeout: 60_000,
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Configure projects for major browsers */
|
/* Configure projects for major browsers */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue