Skip to content

feat(html): support .zip reports in show-report#40528

Merged
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-40456
Apr 30, 2026
Merged

feat(html): support .zip reports in show-report#40528
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:fix-40456

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

Summary

  • playwright show-report now accepts a .zip file (e.g. a downloaded GitHub Actions artifact). The archive must contain index.html at its top level; it is extracted to a temp dir that is cleaned up on exit.

Fixes #40456

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

58 failed
❌ [chromium] › mcp/cli-session.spec.ts:50 › close @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:60 › close named session @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:72 › close-all @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:86 › delete-data @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:98 › delete-data named session @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:115 › session stops when browser exits @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:129 › session reopen with different config @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:146 › workspace isolation - sessions in different workspaces are isolated @mcp-windows-latest-chromium
❌ [chromium] › mcp/cli-session.spec.ts:178 › list --all lists sessions from all workspaces @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:124 › daemon show: closing page exits the process @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:163 › should capture annotations via annotate @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:183 › should start dashboard and annotate when no dashboard is running @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:204 › should enter annotate mode on fresh dashboard.tsx mount with -s annotate @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:227 › should annotate via direct browser_annotate MCP call @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:256 › should cancel browser_annotate when the MCP request is aborted @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:283 › should cancel browser_annotate when the MCP client disconnects @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:308 › should switch screencast to -s session on annotate @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:356 › should disengage annotate mode when annotate client disconnects @mcp-windows-latest-chromium
❌ [chromium] › mcp/dashboard.spec.ts:422 › save recording streams WebM bytes to the chosen file @mcp-windows-latest-chromium
❌ [firefox] › mcp/dashboard.spec.ts:124 › daemon show: closing page exits the process @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:163 › should capture annotations via annotate @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:183 › should start dashboard and annotate when no dashboard is running @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:204 › should enter annotate mode on fresh dashboard.tsx mount with -s annotate @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:227 › should annotate via direct browser_annotate MCP call @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:256 › should cancel browser_annotate when the MCP request is aborted @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:283 › should cancel browser_annotate when the MCP client disconnects @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:308 › should switch screencast to -s session on annotate @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:356 › should disengage annotate mode when annotate client disconnects @mcp-windows-latest-firefox
❌ [firefox] › mcp/dashboard.spec.ts:422 › save recording streams WebM bytes to the chosen file @mcp-windows-latest-firefox
❌ [msedge] › mcp/cli-session.spec.ts:50 › close @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:60 › close named session @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:72 › close-all @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:86 › delete-data @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:98 › delete-data named session @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:115 › session stops when browser exits @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:129 › session reopen with different config @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:146 › workspace isolation - sessions in different workspaces are isolated @mcp-windows-latest-msedge
❌ [msedge] › mcp/cli-session.spec.ts:178 › list --all lists sessions from all workspaces @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:124 › daemon show: closing page exits the process @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:163 › should capture annotations via annotate @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:183 › should start dashboard and annotate when no dashboard is running @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:204 › should enter annotate mode on fresh dashboard.tsx mount with -s annotate @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:227 › should annotate via direct browser_annotate MCP call @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:256 › should cancel browser_annotate when the MCP request is aborted @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:283 › should cancel browser_annotate when the MCP client disconnects @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:308 › should switch screencast to -s session on annotate @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:356 › should disengage annotate mode when annotate client disconnects @mcp-windows-latest-msedge
❌ [msedge] › mcp/dashboard.spec.ts:422 › save recording streams WebM bytes to the chosen file @mcp-windows-latest-msedge
❌ [webkit] › mcp/dashboard.spec.ts:124 › daemon show: closing page exits the process @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:163 › should capture annotations via annotate @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:183 › should start dashboard and annotate when no dashboard is running @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:204 › should enter annotate mode on fresh dashboard.tsx mount with -s annotate @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:227 › should annotate via direct browser_annotate MCP call @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:256 › should cancel browser_annotate when the MCP request is aborted @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:283 › should cancel browser_annotate when the MCP client disconnects @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:308 › should switch screencast to -s session on annotate @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:356 › should disengage annotate mode when annotate client disconnects @mcp-windows-latest-webkit
❌ [webkit] › mcp/dashboard.spec.ts:422 › save recording streams WebM bytes to the chosen file @mcp-windows-latest-webkit

6802 passed, 927 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

7 flaky ⚠️ [chromium-library] › library/video.spec.ts:476 › screencast › should capture static page in persistent context @smoke `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [chromium-library] › library/video.spec.ts:719 › screencast › should work with video+trace `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [firefox-library] › library/browsercontext-reuse.spec.ts:200 › reuse launch › should not cache resources `@firefox-ubuntu-22.04-node20`
⚠️ [firefox-library] › library/browsercontext-reuse.spec.ts:200 › reuse connect › should not cache resources `@firefox-ubuntu-22.04-node20`
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1080 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`
⚠️ [playwright-test] › ui-mode-test-output.spec.ts:118 › should collapse repeated console messages for test `@ubuntu-latest-node20`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:185 › should show snapshots for steps `@windows-latest-node20`

41593 passed, 784 skipped


Merge workflow run.

}
};
// Default Node behavior on SIGINT/SIGTERM is to terminate, which fires 'exit'.
process.on('exit', cleanup);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it work with Ctrl+C which is the default way to exit show-report?

@pavelfeldman pavelfeldman merged commit 26d198e into microsoft:main Apr 30, 2026
41 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support .zip files in playwright show-report

2 participants