Playwright 1.65 can report only failures. Keep the passes anyway
Playwright 1.65 shipped on 5 November. According to TestDino’s write-up of the release, it adds a reporter that shows only failed tests, an option to restrict HTML, JSON and JUnit reports to failures, a built-in exclusive test lock, support for running the test runner on Bun, and 11 breaking changes. A patch, 1.65.1, followed on 13 November. It fixed two regressions (decorated classes with static fields failing to load, and test locations one column off under Bun 1.4.4+) and updated browser versions (Changes.Watch).
Failures-only reporting is the feature most teams will switch on first, and for good reason. It is also the one most likely to quietly delete something you will need later. Our view is simple: show the humans the failures, and keep the full record for everyone else.
A note on sourcing. The summaries we have read are secondary. Before you change any config, check the exact reporter name, option name and list of breaking changes against Microsoft’s own release notes.
Failures-only is the right view for the person fixing the build
Anyone who has triaged a red pipeline knows the problem. The report has two thousand rows, eighteen of them are red, and the useful part is buried under green. Collapsing passes is a fair answer to that noise, and having it built into the runner is better than every team writing its own filter.
For a developer looking at a broken main branch late in the day, a list of failures, each with its trace, is exactly the right artefact. We would turn it on for console output and for the report that gets posted to the pull request. Nobody reviewing a PR needs to scroll past passing tests to find the one that matters.
A pass is evidence too
The trouble starts when the same setting is applied to every reporter. A report containing only failures answers “what broke”. It cannot answer “what did you check before this release went out”, which is the question reviewers, auditors and incident investigators actually ask.
In regulated work that question tends to arrive months after the release, usually because something has gone wrong in production. If the stored record for that release says three tests failed and were then fixed, and nothing else, you cannot show that the payment confirmation flow or the account closure journey was exercised against that build. The pass is the evidence. Throwing it away to tidy a dashboard is a poor trade.
There is a quieter problem too. Without passes, you cannot see coverage shrink. If a test is skipped, deleted or filtered out by a tag change, a failures-only report looks exactly as it did before: clean. A full result lets you compare test names and counts between releases and spot the check that silently stopped running.
We apply the same discipline to the AI agents we run in production for a regulated bank. The evaluation results that let a change go out are kept with that change, passes included, because “it passed” is only worth something if you can show what passed.
What we keep for every release
Split the audiences. Failures-only for people, full machine-readable output for the record. In practice that means configuring reporters separately rather than flipping one global switch, and making sure the failures-only option is not applied to the JUnit or JSON file your pipeline archives.
For every build that could be released, we store:
- The full JUnit or JSON result: every test, with status, duration and retry count.
- Traces for failures and for any test that passed only on retry, since flaky passes are the ones reviewers question.
- The exact Playwright version, the browser versions it ran and the lockfile, so the run can be reproduced.
- The commit hash, the config file and the environment the suite ran against.
All of it is tied to the build identifier and kept for as long as your release records must be kept. That period is set by your retention policy, not by whatever your CI provider’s default artefact expiry happens to be. If those two numbers differ, the evidence disappears on the shorter one.
Treat eleven breaking changes as a reproducibility test
Eleven breaking changes in a release that arrived 29 days after 1.64 is a lot to absorb. Playwright does not publish fixed end-of-life dates, and only the latest release line is treated as current (Versio). The Python package moved just as quickly: PyPI shows releases on 9, 11 and 14 November, ending at 1.65.2. Standing still is not really an option, so the upgrade path has to be routine.
The useful question is not “how long will the upgrade take” but “could we rerun last month’s release suite and get the same answer”. If your dependency is a caret range, browsers change with patch releases (1.65.1 updated them) and nobody can say which browser build a given release was tested on, your evidence is weaker than it looks.
So pin exact versions, commit the lockfile, record browser versions in the stored result, and upgrade on a branch where the full suite runs before merging. A breaking change that surfaces as a failed test on that branch is the system working as intended. One that surfaces in production is a gap in the record.
The exclusive test lock is worth a look if your suite shares stateful resources: one sandbox account, a single test tenant, a payment simulator with one set of credentials. Tests that collide on shared state produce some of the worst flakiness we see. We have not yet confirmed exactly how the lock is scoped, so read the official documentation before relying on it. And remember the --shuffle flag that arrived in 1.64 (TestMu AI): run it periodically to find order-dependent tests that a lock might otherwise hide.
What to do this week
If you own a Playwright suite whose results feed a release decision, this is the order we would work in:
- Read the official 1.65 release notes and list which of the breaking changes touch your suite.
- Turn on failures-only output for the console and for pull request reports.
- Open the archived result from your last release and check it still contains every test, not just the failures. Then confirm the 1.65 config change does not alter that file.
- Pin Playwright to an exact version and add browser versions to the stored result.
- Align artefact retention with your records policy, not the CI default.
If you want help setting up a suite whose output stands up to an auditor’s questions, see our QA and test automation work. For the same approach applied to AI agents, see AI assurance and evaluation.