Repository navigation
feat(trace-viewer): show clock timestamps during playback - #44391
microsoft-playwright-automation[bot] wants to merge 2 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dmitry Gozman (dgozman)
left a comment
There was a problem hiding this comment.
This PR needs screenshots taken before/after that showcase the UI additions.
This comment has been minimized.
This comment has been minimized.
|
Captured before/after screenshots for the settings, DOM snapshots, Aria snapshots, playback, and metadata. Download the run artifacts and open The images use the same trace and viewport on both builds. GitHub image attachments are unavailable in this read-only run, so the screenshots are in the artifacts rather than embedded here. No source changes were needed. Rebased on current main; build, flint, and 412 related tests passed across Chromium, Firefox, and WebKit. The timestamp regression test fails without the change and passes with it. |
30b0b08 to
adc613a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Great! Let's update the UI in this way:
|
This comment has been minimized.
This comment has been minimized.
|
Hi, I'm the Playwright bot and I updated the UI as requested.
Build and flint passed, along with 441 related tests; 5 were skipped. Both timestamp tests fail without the change. Updated before/after screenshots are in the run artifacts, under Revised on Linux by the Playwright bot - agent run |
adc613a to
f4ecd58
Compare
Test results for "MCP"5278 passed, 644 skipped Merge workflow run. |
Test results for "tests 1"1 flaky23705 passed, 711 skipped Merge workflow run. |
Add optional clock timestamps to timeline playback and DOM/Aria snapshots, with local/UTC selection also applied to the metadata start time and shared with UI mode.
Use the normalized trace clock for playback and recorded wall time for DOM snapshots. Keep both overlays off by default and preserve the relative timeline labels.
Verified on Linux: Trace Viewer, related snapshot and UI-mode tests passed; build and flint passed.
Fixes #44374
Triaged on Linux by the Playwright bot - agent run