cuprite icon indicating copy to clipboard operation
cuprite copied to clipboard

Safely evaluate parents and path for orphan nodes.

Open edlebert opened this issue 6 years ago • 4 comments

It's possible for Cuprite to evaluate the parents or the path for a node that no longer belongs to the document.

edlebert avatar Apr 20 '19 18:04 edlebert

@edlebert could you describe scenario when it is possible? Looks like also there'a at least one failing test in all builds

route avatar Apr 22 '19 07:04 route

I'll try to rebase and see if it's useful, didn't hear from you ;)

route avatar Jan 27 '20 18:01 route

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.

edlebert avatar Jan 27 '20 18:01 edlebert

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

Mifrill avatar Aug 29 '21 16:08 Mifrill