DEV Community

Discussion on: Testing your Jekyll Website with Capybara

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.