Skip to main content

Using Knapsack Pro with Capybara


How do I fix SystemStackError: stack level too deep when using capybara-screenshot?

Please update capybara-screenshot to >= 1.0.15 to fix the issue.

Why are Capybara tests failing randomly?

If the CI node is overloaded, the application under test may load slowly causing random test failures. We recommend increasing the maximum wait time:

# spec/rails_helper.rb

Capybara.default_max_wait_time = 5 # seconds

This site uses cookies. By staying here you accept them. See our Cookie Policy for details.
For more information on how to turn off the use of cookies, please see this.
To refuse the use of cookies, please leave the page (more details here).