mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(html-reporter): duplicate attachment name (#16929)
Fixes #16456.
The extra span/name was coming from
077b8a9289/packages/html-reporter/src/links.tsx (L72)
(in conjunction with the line above it).
These two lines assume `path` and `body` are mutally exclusive.
Regression likely introduced by the PR that added the now removed line #10778.
This commit is contained in:
parent
4dc919fb71
commit
c58bfd0552
@ -503,7 +503,6 @@ class HtmlBuilder {
|
||||
name: a.name,
|
||||
contentType: a.contentType,
|
||||
path: 'data/' + sha1,
|
||||
body: a.body,
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user