Tearing Down Capybara Tests of AJAX Pages

Updated . Posted . Visible to the public.

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
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2014-06-20 07:46)