You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the UI has Before and After screenshots for page calls (evaluate, click, etc) and also for steps.
The bug is that After screenshot for Step is not correct, probably same as Before.
To reproduce:
@goloveychuk Thank you for the issue. On the first glance, the solution step should use "after" screenshot of latest "call" done inside it looks like a good one. We'll look into this carefully though.
Version
1.51.1
Steps to reproduce
So the UI has Before and After screenshots for page calls (evaluate, click, etc) and also for steps.
The bug is that After screenshot for Step is not correct, probably same as Before.
To reproduce:
From what I understood steps currently does not dispatch a call, so
playwright/packages/playwright-core/src/server/dispatchers/dispatcher.ts
Line 346 in eafcbd3
is not called.
This is code which finds closest snapshot for step
playwright/packages/trace-viewer/src/ui/snapshotTab.tsx
Line 339 in eafcbd3
It gets beforeSnapshot if afterSnapshot is null.
I see two solutions.
Expected behavior
UI is expected to show correct screenshot.
Actual behavior
Screenshot is not correct.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: