microsoft/playwright-pytest

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

kiebak3r opened this issue · 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