zinserjan / wdio-visual-regression-service

Visual regression service for WebdriverIO.
MIT License
102 stars 39 forks source link

Get {state: 'pending'} instead of results after check methods #22

Closed avkrash closed 8 years ago

avkrash commented 8 years ago

Hi ! I've started to receive {state: 'pending'} as returned value for any check method. I didn't change tests or wdio_configs so far, the problem is actual for selenium grid and standalone server. The only thing that I've made is delete & re-install node_modules.

Screenshots are taken and compared with diffs in case of errors, but without returned results I can't pass/fail tests.

What could be problem with ?

zinserjan commented 8 years ago

No idea, when the only thing you changed is a reinstall of node_modules.

Are you using the sync mode of wdio?

avkrash commented 8 years ago

Thanks for fast answer. Yes, I'm using sync mode.

The problem was in cross-spawn-async package, I reinstall it manually (cross-spawn-async@2.2.4 installed) and everything works fine again.

Here is the error that I've missed while re-install node_modules:

npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!