zinserjan / wdio-visual-regression-service

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

Add `isNewScreenshot` to Comparison Results #83

Open emilyrohrbough opened 6 years ago

emilyrohrbough commented 6 years ago

Often times new screenshots are not generated locally and checked in. This is not caught because our Travis CI builds create new reference screenshots are generated with no indication in the comparison results. It would be helpful to check if for a isNewScreenshot result boolean to assert all screenshots have been properly generated.

emilyrohrbough commented 6 years ago

The BaseCompare would need changed here

The LocaleCompare would need changes in these places:

  1. When new
  2. When exists here and here