Skip to content

plaa/visual-cucumber-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages