There are multiple known issues, when testing code:
-
"Garbage Collection"
Typically tests clean up databases and stuff for themselves. Things like changing global variables etc. anyhow are not cleaned up thus sometimes resulting in errors induced by other tests. -
Concurrency of Code
AJAX Requests might be faster then Capybara but this needn't be always the case. "Patiently do"ing something ensures test code don't fail to soon. -
Concurrency of Tests
The usage of javascript on selenium browsers might induce errors when selecting and focusing etc. are used in a large extend. Checkout Hennings card to blur and focus: https://makandracards.com/makandra/12661-how-to-solve-selenium-focus-issues
Posted by Julian Hauck to Distribusion IT (2013-10-11 08:25)