Closed TrevorHinesley closed 10 years ago
I think this is the duplicate of https://github.com/jnicklas/capybara/issues/1179
I see. Is there a workaround? What's the resolution?
This bug isn't yet fixed. The workaround is to increase wait time.
Hmm alright thanks I'll give it a shot.
Yes this appears to be a duplicate of #1179 however I wouldnt say a "workaround" is to increase the wait time, the solution to the test failing is to increase the wait time, or speed up your app. Whats happening is the page is finally changing between the time have_content stops checking for the correct text, and the time the error message is generated. So even if the error message was correct your test would still be failing occasionaly. unless you increase the wait time or speed up your app - Anyway - closing as a duplicate of #1179
Using Capybara 2.3.0
As you can see from this test failure (which only happens sometimes), have_content is just not working sometimes (compare the last line to what's expected to be found):