Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Safely evaluate parents and path for orphan nodes. #81

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

edlebert
Copy link

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

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

route commented Apr 22, 2019

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

@route
Copy link
Member

route commented Jan 27, 2020

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

@edlebert
Copy link
Author

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.

@Mifrill
Copy link
Contributor

Mifrill commented Aug 29, 2021

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants