cuprite
cuprite copied to clipboard
Safely evaluate parents and path for orphan nodes.
It's possible for Cuprite to evaluate the parents or the path for a node that no longer belongs to the document.
@edlebert could you describe scenario when it is possible? Looks like also there'a at least one failing test in all builds
I'll try to rebase and see if it's useful, didn't hear from you ;)
Thank you! Yes, it definitely is an issue. It can happen for "waiting" Capybara code such as expect(page).to have_text 'Some Text' when the DOM can change during evaluation.
okay, we have only one fail test after the merge with the updated master. Not bad! I will take a look, it is also nice to have some tests with the scenario