-
Notifications
You must be signed in to change notification settings - Fork 4.8k
chore: use detail/summary for html reporter attachments #36560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
03d5057 to
d05ed36
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looking good! Took a little while to review the change, but I can't spot any functional regressions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For changes like this in the future, it is very helpful to include before and after screenshots even if you believe there to be no visual change. There is obviously significant DOM and styling changes here, so helping the reviewer understand there is actually no change would be appreciated.
Otherwise looks good. Given the amount of inline styling and the fact that links.css already exists, I would recommend moving these styles into a stylesheet.
d05ed36 to
20b8b6d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"8 flaky46752 passed, 926 skipped Merge workflow run. |
What does it fix?
The browser by default when you use the native search functionality only looks at visible nodes. For detail/summary it includes it as well and automatically expands them. This is handy for e.g. attachments (stdout/stderr) in the html reporter. Since we previously didn't use them, the expansion had to be done manually. This PR addresses that so that command + F and search for the query does automatically expand it.
There should be no other UI changes besides that, it should look and behave the same.