-
Notifications
You must be signed in to change notification settings - Fork 4.8k
fix(trace-viewer): decode + quote report path in fallback “Copy Command” (file://) #37710
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
fix(trace-viewer): decode + quote report path in fallback “Copy Command” (file://) #37710
Conversation
|
@microsoft-github-policy-service agree |
This comment has been minimized.
This comment has been minimized.
…th platform-specific command
3edd962 to
8eb851e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…oving platform-specific path handling
This comment has been minimized.
This comment has been minimized.
Skn0tt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Thanks for taking the time to open a PR. From a cursory look, this seems like it's going in the right direction. Could you make sure that there's no formatting changes mixed in? That'd make it a lot easier to review + accept.
This comment has been minimized.
This comment has been minimized.
…ith proper path handling
9c802b5 to
8f3f1c8
Compare
Test results for "tests 1"2 flaky46926 passed, 816 skipped Merge workflow run. |
Skn0tt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you! I cross-checked that this doesn't collide with #37706.
Fixes #37709.
Updates the Trace Viewer fallback dialog (when opened via
file://) to produce a working “Copy Command.”It now decodes the URL path and quotes it (and normalizes slashes on Windows), so paths with spaces or special characters open correctly via
npx playwright show-report.