diff --git a/docs/changelog.md b/docs/changelog.md index 5bdbb65..7e2c691 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. -## [2.1.4] - Current +## [2.1.5] - 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. + +## [2.1.4] ### Changed diff --git a/package.json b/package.json index e6b67a1..a65216b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "2.1.4", + "version": "2.1.5", "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: {