mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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.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>;
|
||||
})}
|
||||
|
Loading…
x
Reference in New Issue
Block a user