Open amigolargo opened 7 years ago
I believe you need a global install of slimerjs.
Hey @garris, thanks for your reply. I'm trying to avoid a global install of SlimerJs in order to keep all dependencies localised for CI integration, is this likely to be possible?
Yup, totally understand. I'm pretty sure it's possible, you'd probably need to do a little research on how to specify the path of the slimer executable. Try looking at slimerjs documentation-- you may be able to specify it using the casperFlags
property in BackstopJS.
Awesome, thanks. Will investigate & post back
With the engine set to
slimerjs
in the standard backstop.json (from genConfig), and the following dependencies in package.json,running
npm run reference
from within thenode_modules
folder does not produce any output images.Terminal output is
And with debugging switched on
Removing Webpack from the dependencies in this minimal test scenario, or switching the engine to PhantomJs will give me screengrabs again, but these are requirements for the project in which I am installing Backstop.
Any suggestions as to how I can debug further? Thanks!