CLI·
Decide a visual change where you saw it: tr visual accept, and a Visual tab in Studio
The reporter learned to say which element caused a visual failure two days ago. This release closes the loop: the CLI and Studio show the same attribution, and a reviewer can accept or reject the new baseline without leaving the terminal — with a record of who decided what, and why.
tr visual accept/tr visual reject. Accept copies this run's render over the committed baseline file the report names — the one Playwright reads next time — and nothing else; reject changes no files. Both refuse what cannot be decided (a pass, a baseline that was only written, a size mismatch), both record the decision as a line in<report>/visual-decisions.jsonlbefore anything touches the network, and both sync it to TestRelic Cloud when the run was uploaded there — otherwise one line says why it stayed local.--notetravels with the decision. See Visual regression.tr visuallists a retried test once, with the final attempt's verdict, and names a comparison by snapshot, by<spec>::<snapshot>, or by test id — an ambiguous name is refused with the candidates listed, never guessed.- Studio has a Visual tab in the cloud test stack, beside Steps, Console and Network: baseline against this run, side by side or as Playwright's pixel diff, the element list with the changed element's box drawn over the render, and Accept / Reject wired to the platform. The same tab appears for a report opened from disk, without the decision buttons — nothing leaves the machine there.
- The step cursor that scopes the panels is set from the Steps tab in the cloud test stack.
Released as tr 0.103.0 and the matching Studio build. Accept needs a report from @testrelic/playwright-analytics 2.16.2 or later, which records where each committed baseline lives.