Skip to content
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

Add support for multiple screenshots in scenario steps #44

Merged
merged 2 commits into from
Apr 26, 2018

Conversation

Brian-Dawson-Nerdery
Copy link
Contributor

Cucumber allows saving of multiple images, but the report currently only displays the last image that was attached.

Updated the report to show all images attached to a step.

Note: I advise updating the css to better accommodate multiple images. Currently, small images will stretch to the width of the largest image - making them looked stretched, and it's hard to tell where an image ends and another stops. In the screenshots below, you'll see how it looks with my custom css that I feel best displays the images. I'll gladly give you the css if you're wanting to copy and use it.

report-screenshots-step

report-screenshots-after

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 98.652% when pulling 332b5a3 on Brian-Dawson-Nerdery:master into d216eba on wswebcreation:master.

@Brian-Dawson-Nerdery
Copy link
Contributor Author

I'll be honest. I have no idea what the coverage/coveralls check is complaining about.

@wswebcreation
Copy link
Collaborator

Tnx man for the PR, I'll take a look at it tomorrow. Will also fix the css 👍

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