XCTestHTMLReport
XCTestHTMLReport copied to clipboard
Spike: Adding screenshot flow for the start of each test
@TitouanVanBelle As I suggested here https://github.com/TitouanVanBelle/XCTestHTMLReport/issues/105 I wanted a way to see all screenshot attachments for failing UI tests. I added new HTML inserted string at the start of each test to show some small screenshots inline. This we help diagnose failures in UI tests with less clicking to expand.
I also added accumulateHTMLAsString
to remove the number of repeated reduce
calls
Feature I was looking for, thanks !
I've just added a OnClick method at TestScreenshotFlow file - line 52 in order to display the screenshot in the right panel.
onclick=\"showScreenshot('[[FILENAME]]')\"
Is this usable still?
I will fix the conflicts - should still be usable