Skip to content

Spike: Adding screenshot flow for the start of each test#114

Open
amleszk wants to merge 2 commits into
XCTestHTMLReport:developfrom
amleszk:spike_quick_html_report
Open

Spike: Adding screenshot flow for the start of each test#114
amleszk wants to merge 2 commits into
XCTestHTMLReport:developfrom
amleszk:spike_quick_html_report

Conversation

@amleszk

@amleszk amleszk commented Nov 10, 2018

Copy link
Copy Markdown
Contributor

@TitouanVanBelle As I suggested here #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

@amleszk amleszk changed the title Adding screenshot flow for the start of each test Spike: Adding screenshot flow for the start of each test Dec 8, 2018
@cmarchal

Copy link
Copy Markdown

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]]')\"

@jordan-romeroporter-earnin

Copy link
Copy Markdown

Is this usable still?

@amleszk

amleszk commented Jan 7, 2020

Copy link
Copy Markdown
Contributor Author

I will fix the conflicts - should still be usable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants