Replace deprecated Capybara timeout