[Feature]: `Update snapshot` sticky header in UI Mode Attachments panel
Los mantenedores suelen responder en 1 día
@microsoft-playwright-automation ya está trabajando en esto.
Desde el 1/11/2026.
- #43835 de @microsoft-playwright-automation — abierto
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 32/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
Línea de trabajo
Start in the UI Mode Attachments panel, where each IMAGE DIFF section renders its Diff, Actual, Expected, Side by side and Slider views. Read how the existing run-level updateSnapshots option from issue #37007 and PR #37098 writes expected snapshots, since the new action must replace only one screenshot. Done when the sticky IMAGE DIFF header shows an Update snapshot button that updates just that snapshot, and no other attachment types show it. Check the design with maintainers first, because the earlier attempt in PR #42421 was archived and the issue was closed as not planned.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
🚀 Feature Request
Add an Update snapshot action to each IMAGE DIFF section in UI Mode's Attachments panel.
The existing IMAGE DIFF header would remain sticky while scrolling through the comparison, with Update snapshot replacing that screenshot's expected snapshot with the actual screenshot.
This follows existing UI Mode patterns where actions are placed in a sticky header for the content they operate on, for example the Source panel actions:
https://github.com/user-attachments/assets/8d2c998b-2e56-4132-bccc-d3b23305bb1c
Example
After a failed test run with failing snapshots:
- Review a failed screenshot using the existing Diff / Actual / Expected views
- Click
Update snapshotfor any intentional change which should have the current snapshot replaced by the Actual snapshot - Continue reviewing the remaining image diffs individually
The existing Attachments panel:
The proposed action would be added to the existing IMAGE DIFF header:
IMAGE DIFF Update snapshot
──────────────────────────────────────────────────────────────────
Diff Actual Expected Side by side Slider
The header would remain sticky while scrolling through a large comparison. The action only appears for IMAGE DIFF sections, not other attachments.
Alternative designs can be seen in prior art:
Motivation
When several screenshot assertions fail, UI Mode lets you review each diff, but not update an intentional change directly from that diff.
Checked against Playwright v1.64.1: the Image diff section in UI Mode's Attachments panel still has no update action.
I'm aware that Playwright v1.56+ supports updateSnapshots in UI Mode (issue #37007 + PR #37098), but the current workflow has a few drawbacks:
- If users enable it before running, snapshots are updated before users know whether the changes are correct
- If users run tests normally to failure and review first, accepting a change requires enabling it and running the test again, which can be slow, flaky, and interrupts the review flow
- Because updating is run-level, other changed snapshots can be updated before users have reviewed them
History
Re-filed from #42393, which was closed in the P3-collecting-feedback cleanup (#43813). Before that, #42393 was scheduled for release:
- 2026-08-26: @dcrousso opened PR #42421 (
feat(ui-mode): update individual snapshots) implementing it - 2026-08-31: assigned to @dcrousso, scheduled for
v1.64 - 2026-10-02: moved from
v1.64tov1.65 - 2026-10-05: #42421 archived for inactivity
- 2026-10-20:
v1.65replaced withP3-collecting-feedback - 2026-10-31: closed as not planned
- Lenguaje dominante
- TypeScript
- Estrellas
- 99.1k
- Forks
- 6.8k
- Merge medio
- 15 h 37 min
- PR fusionados (30 d)
- 329
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/playwright
-
[Feature]: Option to make all locators ignore hidden elements by defaultPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
microsoft/playwright#43855 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Configure web servers per projectPosiblemente ocupada @microsoft-playwright-automation la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
microsoft/playwright#43853 · 4 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Extend isVisible/toBeVisible API to include overlap detectionPosiblemente ocupada @microsoft-playwright-automation la tomó hace 1 día. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
microsoft/playwright#43849 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug]: connectOverCDP: a tab whose main frame was swapped in by a prerender never initializes, and title()/evaluate() hang forever (default Chrome/Edge settings)Posiblemente ocupada @dgozman la tomó hace 2 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
microsoft/playwright#43842 ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Let an MCP client label its own extension tab groupPosiblemente ocupada @microsoft-playwright-automation la tomó hace 4 días. Abiertomilestone needs-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
microsoft/playwright#43823 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/playwright
Issues similares
-
apps/stage-web bug env/os-linux pending triage scope/audio-output
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
reproduced
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
anomalyco/opencode#61640 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
scope: data grid status: waiting for maintainer
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mui/mui-x#24090 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
ai-driven-fuzzing bug Minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
ai-driven-fuzzing bug claude Minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
linagora/twake-calendar-frontend#1944 ·
Los mantenedores suelen responder en 1 día