You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use test traces to debug flaky tests. However, the current trace options do not allow me to capture traces for a test that fails on the first try, and then passes on retry without using the on option, which generates way more traces than needed.
What I want is essentially retain-on-failure, but without the last part of its description - "When test run passes, remove the recorded trace.".
I want all have all traces of failed tests, regardless of whether they passed on retry, and want no traces for successful attempts.
Example
playwright.config.ts would have { use: { trace: 'retain-all-failures' } }
Motivation
It will make it easier to address flaky tests.
The text was updated successfully, but these errors were encountered:
馃殌 Feature Request
We use test traces to debug flaky tests. However, the current
trace
options do not allow me to capture traces for a test that fails on the first try, and then passes on retry without using theon
option, which generates way more traces than needed.What I want is essentially
retain-on-failure
, but without the last part of its description - "When test run passes, remove the recorded trace.".I want all have all traces of failed tests, regardless of whether they passed on retry, and want no traces for successful attempts.
Example
playwright.config.ts
would have{ use: { trace: 'retain-all-failures' } }
Motivation
It will make it easier to address flaky tests.
The text was updated successfully, but these errors were encountered: