Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

feat(trace): add a link to download trace (#10807)

Pavel Feldmanc7193c7716af
diff --git a/packages/playwright-core/src/web/htmlReport/htmlReport.tsx b/packages/playwright-core/src/web/htmlReport/htmlReport.tsx
index 9d6449f2ae..638150ea35 100644
--- a/packages/playwright-core/src/web/htmlReport/htmlReport.tsx
+++ b/packages/playwright-core/src/web/htmlReport/htmlReport.tsx
@@ -264,6 +264,7 @@ const TestResultView: React.FC<{
<a href={`trace/index.html?trace=${new URL(a.path!, window.location.href)}`}>
<img src={traceImage} style={{ width: 192, height: 117, marginLeft: 20 }} />
</a>
+ <AttachmentLink attachment={a}></AttachmentLink>
</div>)}
</Chip>}