Tearing Down Capybara Tests of AJAX Pages

An all-in-approach to fix the problem of pending AJAX requests Show archive.org snapshot dying in the browser when the server ends a test or switches scenarios.


We were able to work around this issue in most projects by doing this instead:

After '@javascript' do
  step 'I wait for the page to load'
end
Henning Koch Almost 10 years ago