Angular, Rails, Capybara, wait for ajax.
When dealing with ajax integrations tests using Capybara and Rails, most of the time we don’t know how long it will take to our backend to respond to that request. In this cases, Capybara is very good about handling ajax, waiting for elements to appear on the page,