Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 713 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 713 Bytes

Testing visual appearance with Cucumber + Watir

Example on how to test visual appearance of web pages using Cucumber + Watir

See blog post at http://codeforhire.com/2013/11/23/testing-visual-appearance-with-cucumber-watir/

Running the tests

Just run cucumber.

The test will likely fail due to browser rendering differences. Compare the resulting images under the output directory. See the blog post for details.

Gems required for running the test:

  • cucumber
  • watir-webdriver
  • oily_png

Additionally you need the chromedriver executable somewhere on your path.