chore: make html report image attachment clickable (#26978)

This commit is contained in:
Max Schmitt 2023-09-11 08:44:00 +02:00 committed by GitHub
parent 80b9e02837
commit 54f36bee93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,9 @@ export const TestResultView: React.FC<{
{!!screenshots.length && <AutoChip header='Screenshots'>
{screenshots.map((a, i) => {
return <div key={`screenshot-${i}`}>
<img src={a.path} />
<a href={a.path}>
<img src={a.path} />
</a>
<AttachmentLink attachment={a}></AttachmentLink>
</div>;
})}