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

Add failing test case for shadow DOM selector generation #175

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Add failing test case for shadow DOM selector generation #175

merged 1 commit into from
Jan 10, 2022

Conversation

niranjan94
Copy link
Contributor

Related to #173

SUMMARY:
✔ 105 tests completed
ℹ 1 test skipped
✖ 2 tests failed

FAILED TESTS:
  Shadow DOM
    ✖ should match shadow element within shadow root
      Chrome Headless 96.0.4664.110 (Mac OS 10.15.7)
    AssertionError: expected ':root > :nth-child(1)' to equal '#shadow-content'
        at Context.<anonymous> (/Users/niranjan/Development/grouped/mockingjay/mockingjay-core/tmp/css-selector-generator/temp/commons.js:12769:46)

    ✖ should match shadow element's child div within shadow root
      Chrome Headless 96.0.4664.110 (Mac OS 10.15.7)
    AssertionError: expected ':root > :nth-child(1) > :nth-child(2)' to equal '#nested-shadow-host'
        at Context.<anonymous> (/Users/niranjan/Development/grouped/mockingjay/mockingjay-core/tmp/css-selector-generator/temp/commons.js:12779:46)

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.

2 participants