Skip to content

Releases: Dikshita25/nightwatch-visual-testing

v2.0.0

31 Mar 05:46
Compare
Choose a tag to compare

Enhancements:

  • Supports Nightwatch v2
  • Additional feature of taking and comparing screenshot of any element, by passing the locator
  • Removed dependency from nightwatch-api

v1.0.2

31 Mar 05:40
Compare
Choose a tag to compare
  • Perform visual testing using NightwatchJS v1
  • Uses NightwatchJS provided built-in assertions and commands
  • Uses assertions to capture screenshot of the page (DOM) and compares the screenshot against the reference (baseline) screenshot.
  • If the baseline does not exists, it will be created the very first time you run the test and assertion will pass
  • If the baseline does exists, the comparison of screenshot will be performed pixel to pixel and the difference would be shown in red.