BackstopJs. Am I able to use a png or svg as the reference URL?

259 Views Asked by At

I am currently learning BackstopJs for visual regression testing. However, our files for the reference are based in figma and are difficult to grab the exact screen I need (we show several views in one file). Is there a way for me to use a png as the referenceUrl?

Thank you!

1

There are 1 best solutions below

0
On BEST ANSWER

Found that I could just link to the file in the URL of the browser and backstop works great with it.

ex: File /Users/user/Desktop/image