Using Knapsack Pro with Capybara
How do I fix
SystemStackError: stack level too deep when using
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:
Capybara.default_max_wait_time = 5 # seconds