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

This commit is contained in:
Pavel Feldman 2021-12-08 15:41:35 -08:00 committed by GitHub
parent aca350d17c
commit c7193c7716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>}