-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capybara::Cuprite::BrowserError: "Cannot find context with specified id" #42
Comments
Could you please turn |
Sure! |
@vizcay from the log I can see that there's a delay between clicking the last button and form submission so that in between we get the node with object_id which is invalid after submitting form as there's not such context and node anymore. That's intermittent issue, your test is running faster than action happens on the page. I'll try to reproduce this behavior with simple test. |
I added some fixes to avoid intermittent issues. Feel free to reopen if you still have them |
looks like issue similar to #61 |
I have another set of tests that is failing always with the same structure, for example:
When starting to debug, first I tried to watch in which state was the page with
save_and_open_page
and to my suprise the test started passing (the same withsleep 1
). Now the strange thing it that the report generation inside the spec is not that slow actually.Anyway I've tried:
And is raising the same exception, so I think this is not a case where the expectation is timing-out at all.
Any ideas?
The text was updated successfully, but these errors were encountered: