Hi,
up.
What I am trying to achieve is to create a screenshot for each failing browser test (e.g. using Hound), this helps in trying to understand why a certain test failed.
Basically this could look like:
setup context do
on_exit(context, fn ->
if context.test_failed
take_screenshot("./tmp/#{context.test}.png")
end
end
:ok
end
So this something you would consider, or is there already a way to implement this?
Thanks in advance,
Lars Vonk