fix(mcp): preserve directory for additional tab videos#41680
Conversation
Test results for "MCP"8 failed 7701 passed, 1235 skipped Merge workflow run. |
| expect(tabCloseOutput).toContain(`0: (current) [](${server.EMPTY_PAGE})`); | ||
| const { output: videoStopOutput } = await cli('video-stop'); | ||
| expect(videoStopOutput).toContain(`### Result\n- [Video](./video.webm)\n- [Video](./video-1.webm)`); | ||
| expect(videoStopOutput).toContain(`### Result\n- [Video](recordings/video.webm)\n- [Video](recordings/video-1.webm)`); |
|
Trying out a CI failure triage bot we're building - here's its verdict on this PR's failing checks, posting by hand for now so we can see it in context: Hi, I'm the Playwright bot and I took a look at the failing CI. 🔴
|
Summary
browser_start_videodropped the directory part of the filename for videos recorded from additional tabs (recordings/video.webm→video-1.webm) because the numeric suffix was applied withpath.basename.path.dirnameso additional tab videos land next to the first (recordings/video-1.webm).Fixes #41659