DEV Community

Discussion on: Testing your Jekyll Website with Capybara

Collapse
 
mrwesdunn profile image
Wes Dunn

Fantastic post!! I've done a bit of googling to find a simple testing solution for Jekyll and never came up with something that I could get excited about.

I'll definitely be giving your solution a test run (pun somewhat intended)!! Thanks for sharing this!!

Collapse
 
phansch profile image
Philipp Hansch

Happy to hear!

There is one gotcha for which I haven't found a workaround, yet. If you have a bigger site, then you probably have to sleep a few seconds in the test_helper until the site has been built completely. Without sleeping you will run into 'Element not found' errors from Capybara.