zinserjan / wdio-visual-regression-service

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

Ability to fail test when there is no reference image #79

Open mgibas opened 6 years ago

mgibas commented 6 years ago

I would like to fail a test when there is no reference image. My use case looks like that:

there is possibility though that someone will forget some files or these steps so It would be nice to have an option to fail test run that doesn't have reference images and they need to be copied over from taken to referene manually to make next run green.

zinserjan commented 6 years ago

Letting the tests fail is out of responsibility of this service. But we could provide the required information for this into the result reports, so you can assert it by yourself.

Implementation should be simple when #78 is merged.

mgibas commented 6 years ago

That seems like a fair solution :+1: