Getting random Capybara::Poltergeist::ObsoleteNode error
kapcod opened this issue · comments
The line in minitest capybara looks like this:
page.find('#portfolio_sort').click
And it randomly crashes with Capybara::Poltergeist::ObsoleteNode.
I couldn't reproduce it on purpose, every time that I stop in debugger before this line and run it, everything is fine. Will be happy to try any way to troubleshoot it.
Please show the test steps surrounding the line giving you issues. ObsoleteNode generally means the page has changed or the element has been replaced on the page. Also, what versions are you using and what is the full error message.
Closing due to lack of response - we can reopen if/when the needed info is provided