fix(trace viewer): make paths via stdin work#39121
Conversation
| host?: string; | ||
| port?: number; | ||
| isServer?: boolean; | ||
| stdin?: Readable; |
There was a problem hiding this comment.
This can be imported via playwright-core/server. I suspect we only have it for testing purposes, and it's not part of our public API to anyone.
This comment has been minimized.
This comment has been minimized.
f3d48f9 to
d5a793c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d5a793c to
d014f93
Compare
This comment has been minimized.
This comment has been minimized.
tests/config/traceViewerFixtures.ts
Outdated
| }); | ||
| }, | ||
|
|
||
| startTraceViewer: async ({ context, childProcess }, use) => { |
There was a problem hiding this comment.
Naming is hard! I will not be able to figure whether to startTraceViewer or showTraceViewer later on. Perhaps inline this fixture into the test for now?
This comment has been minimized.
This comment has been minimized.
Co-authored-by: li-zhixin <[email protected]>
d014f93 to
5fe219f
Compare
Test results for "tests 1"4 failed 6 flaky34215 passed, 756 skipped Merge workflow run. |
Test results for "MCP"4649 passed, 135 skipped Merge workflow run. |
Co-authored-by: li-zhixin <[email protected]>
Closes #39096, which is a regression from #38566. The fix is exactly what @li-zhixin outlines, thanks!