I use Capybara to test rail integration. When it comes to AJAX requests, I get the following error:
Capybara::TimeoutError: failed to resynchronize, ajax request timed out
Any idea what is wrong and how can this be fixed?
I had the same issue as soon as I updated my selenium / capybara gemstones. There is some AJAX sync logic that causes this, so I just disabled it in my test cache.
Before do page.driver.options[:resynchronize] = false end
If you are on rail 3
change this in your gem file.
gem 'capybara' ,: git => 'git: //github.com/jnicklas/capybara.git' ,: branch => 'async_is_my_bitch'
then upgrade the package.
This will solve the problem.
Source: https://habr.com/ru/post/892886/More articles:Pack C # project in a dll or other library - c #Capybara uses Internet Explorer as a browser, not Firefox - browsercortex a9 boot and memory - embeddedHow to set mouse cursor position from console application in C #? - c #Using Haskell "Possibly," enter declarations [initial question] - haskellGC.AddMemoryPressure equivalent in Java - javaIs there a way in Objective-C to take a number and write it down? - objective-cIs it possible for the GC to manage its own resource object? - javaSegmentation error using OpenMp and SSE - cIs there a performance difference between First Model and First First in MS Entity Framework 4.1? - performanceAll Articles