Skip to content
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

#8 Check if parent node is a document or document fragment #9

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

TomCaserta
Copy link
Contributor

Fixes #8

@codecov
Copy link

codecov bot commented Aug 30, 2019

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #9   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          59     60    +1     
=====================================
+ Hits           59     60    +1
Impacted Files Coverage Δ
src/querySelectorDeep.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05f5205...8325a9a. Read the comment docs.

@Georgegriff Georgegriff self-requested a review August 30, 2019 09:52
Copy link
Contributor

@Georgegriff Georgegriff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, followed the logic through on my machine and makes perfect sense. Thank you for writing a test case too!

@Georgegriff Georgegriff merged commit 09c750d into webdriverio:master Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When no parent has been found that matches the selector the library throws an error
2 participants