Cabybara is unable to find css


I am using rspec with capybara to test features. My tests all pass locally ( on Linux mint 17.1 ) . But they seem to fail on CircleCi. I get “Capybara: Element not found” error.
I have seen similar posts in this website but they don’t seem to have an answer for the problem.
Thanks in advance.


There is probably insufficient detail in your post to be able to confidently answer, but there are sometimes discrepancies between local and remote due to processor speed. Perhaps if the CircleCI CPU is slow, you need to do some waiting in your test for an element to be created or become visible?


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.