Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Ability to view localStorage in the traceViewer #34904

Open
ychaudhari opened this issue Feb 24, 2025 · 1 comment
Open

[Feature]: Ability to view localStorage in the traceViewer #34904

ychaudhari opened this issue Feb 24, 2025 · 1 comment

Comments

@ychaudhari
Copy link

🚀 Feature Request

Some of our apps feature depends on the variables set in the localStorage and when some tests fail, we need to understand what the values in localStorage are. I'm not sure how feasible it is but it will be great to see value of the localStorage during the test run in the trace viewer if possible. That'll help us debug the issues very efficiently.

PS: Love the trace viewer, it provides excellent view of what happened in the browser during test run. We almost never have to spend time in re-running tests in order to reproduce CI failures.

Example

No response

Motivation

Through the trace viewer, playwright provides excellent view of the network, console tabs during the test run. This feature will enrich the trace viewer further and help users like us to save even more time in debugging tests in certain situations.

@yury-s
Copy link
Member

yury-s commented Feb 25, 2025

Do you need to see it after each action or just in the end of a failing test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants