eWert-Online / OSnap

OSnap is a snapshot testing tool, which mainly focuses on speed and ease of use.
https://ewert-online.github.io/OSnap/
152 stars 2 forks source link

Ablity to debug internal errors #39

Closed selven closed 1 year ago

selven commented 1 year ago

I have everything setup and working great locally. But once I try to run it in the ci I get:

osnap: internal error, uncaught exception:
       End_of_file

How would I go about debugging this issue and seeing the underlying error?

eWert-Online commented 1 year ago

Hmm... that error message can have multiple causes. The first that comes to mind is that you did not download the chromium version osnap needs.

Did you run osnap download-chromium?

selven commented 1 year ago

Thank you, that was it. I guess I didn't have to run that locally because I already had chromium installed. It's working in the pipeline now.

eWert-Online commented 1 year ago

Thats great to hear 🙂 I want to keep this issue open however, because I think the error message needs to be improved!

selven commented 1 year ago

Great and I double checked I didn't just miss it, that command needs to be added to the readme/ website somewhere (for non docker users).