playwright-pytest icon indicating copy to clipboard operation
playwright-pytest copied to clipboard

[FR] Support for working with pytest-rerunfailures to only create --output on true failure

Open kiebak3r opened this issue 11 months ago • 0 comments

It would be nice if this plugin could work nicely with pytest-rerun failures to mitigate flaky tests.

In the current state when using both plugins, when a test fails and it re runs the failure, the --output artifact such as the trace or a video is still created for each re run attempt, it would be nice to have an option to only retrieve the true failure and not the re runs

kiebak3r avatar Mar 08 '24 10:03 kiebak3r