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
#1946 deep shadow selectors support #1947
Conversation
4f50592
to
e90bbc2
Compare
305351e
to
e90bbc2
Compare
b63e7d6
to
5ce5e03
Compare
Could not bypass sonarcloud check. It fails due transpiled js code but I cannot exclude that file not by code-analysis.gradle not by sonar-project.properties 😟 |
src/main/java/com/codeborne/selenide/selector/ByDeepShadow.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BorisOsipov PR is good, but this 3rd-party JS is unreadable.
Can't we just write a simple JS to iterate all DOM elements, like https://github.com/selenide/selenide/blob/master/src/main/resources/find-elements-by-text-case-insensitive.js ?
Can't you ignore the Sonar error by this hack?
See https://community.sonarsource.com/t/sonar-ignore-issues-by-block-not-working/27008/6 |
5ce5e03
to
d1a46d2
Compare
@asolntsev it doesn't work without additional setup https://community.sonarsource.com/t/sonar-ignore-issues-by-block-not-working/27008/2 |
c6f1454
to
ab30377
Compare
ab30377
to
e58231b
Compare
e58231b
to
ef4633b
Compare
fixed |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good job!
Proposed changes
Implements #1946
Checklist
gradlew check chrome_headless firefox_headless
command