chore: make html report image attachment clickable (#26978)
This commit is contained in:
parent
80b9e02837
commit
54f36bee93
|
|
@ -109,7 +109,9 @@ export const TestResultView: React.FC<{
|
||||||
{!!screenshots.length && <AutoChip header='Screenshots'>
|
{!!screenshots.length && <AutoChip header='Screenshots'>
|
||||||
{screenshots.map((a, i) => {
|
{screenshots.map((a, i) => {
|
||||||
return <div key={`screenshot-${i}`}>
|
return <div key={`screenshot-${i}`}>
|
||||||
<img src={a.path} />
|
<a href={a.path}>
|
||||||
|
<img src={a.path} />
|
||||||
|
</a>
|
||||||
<AttachmentLink attachment={a}></AttachmentLink>
|
<AttachmentLink attachment={a}></AttachmentLink>
|
||||||
</div>;
|
</div>;
|
||||||
})}
|
})}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue