Cabybara is unable to find css


#1

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.


#2

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?


#3

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