garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.7k stars 604 forks source link

SlimerJS do not execute the scenario #759

Open cristissouza opened 6 years ago

cristissouza commented 6 years ago

I am trying to execute a test with slimerJS but the scenarios are not executed. I have this output:

output-error

What appear when I execute the test is this screen:

scenario not executed

When I execute the test, an windows with slimerjs pop up but no test really occur. I set up the engine as "engine": "slimerjs". The same test run without problem with puppeteer and chomy. Should I set up more steps and update files and paths?

Kenith commented 6 years ago

@cristissouza Backstop not support firefox well, see the bug here: https://github.com/garris/BackstopJS/issues/311

mhavelant commented 6 years ago

I can use slimerjs only if I run backstop with xvfb (either with node fs.spawn or directly from the CLI), but when I want to use it as "backstop = require('backstopjs')", I get the same issue. Either way, debugging doesn't work, some "this.filter" function is undefined.

Edit: I'm not on windows, but linux (running in docker).