You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
I would like to customize the Geb artifacts section a little bit, like removing the links to the dom snapshot file and have the screenshot displayed on the same page instead of being a link, is it possible?
The text was updated successfully, but these errors were encountered:
Hi @jdelucaa, I was actually thinking about adding thumbnails a long time ago, but never took the time to look into it. But you can achieve this quite easily in the meantime:
Make sure the reference to the template is correct in the spock-reports config
Now you can make the adjustments in the spec-template.html according to your preferences
The geb artifacts table is generated in lines 248 to 274, so you could replace it with something like the code below. I do not know how performant it is to simply add the full images inline (only scaled-down by css), but for anything less than a few dozen images on a single page, I don't think it will be a major issue. Instead of inlining css, you can also provide a custom css file.
I would like to customize the
Geb artifacts
section a little bit, like removing the links to the dom snapshot file and have the screenshot displayed on the same page instead of being a link, is it possible?The text was updated successfully, but these errors were encountered: