diff --git a/docs/changelog.md b/docs/changelog.md index 370de41..79ebfdf 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,13 @@ All notable changes to this project will be documented in this file. -## [1.10.0] - Current +## [1.10.1] - Current + +### Changed + +- **Trace retention on all test runs**: Changed Playwright trace setting from `"retain-on-failure"` to `"on"` so traces are always retained, including on passed tests. This enables the fullsend e2e-triage agent to compare passing and failing traces for more accurate root cause analysis. + +## [1.10.0] ### Fixed diff --git a/package.json b/package.json index ec85b51..582ae15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "1.10.0", + "version": "1.10.1", "description": "Test utilities for RHDH E2E tests", "license": "Apache-2.0", "repository": { diff --git a/src/playwright/base-config.ts b/src/playwright/base-config.ts index f20c99e..304e74e 100644 --- a/src/playwright/base-config.ts +++ b/src/playwright/base-config.ts @@ -24,7 +24,7 @@ export const baseConfig: PlaywrightTestConfig = { ], use: { ignoreHTTPSErrors: true, - trace: "retain-on-failure", + trace: "on", screenshot: "only-on-failure", viewport: { width: 1920, height: 1080 }, video: {