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

Selenide element wrapped in appium #2669

Merged
merged 5 commits into from
Mar 7, 2024

Conversation

asolntsev
Copy link
Member

@asolntsev asolntsev commented Mar 3, 2024

Fix method SelenideAppium.$(Selenide.$(By.xpath("Nope"))).shouldNotBe(exist);

@asolntsev asolntsev added this to the 7.2.1 milestone Mar 3, 2024
@asolntsev asolntsev self-assigned this Mar 3, 2024
@asolntsev asolntsev force-pushed the fix/2665-selenide-element-wrapped-in-appium branch 7 times, most recently from e051f6a to fdc1440 Compare March 5, 2024 07:39
usually it means that browser has disappeared, emulator died etc.
Sonar reported this regex as vulnerable:
"Make sure the regex used here, which is vulnerable to polynomial runtime due to backtracking, cannot lead to denial of service."
I think it's not a problem because the input doesn't comes from users, it comes from Selenium library. And this String has quite limited length.
@asolntsev asolntsev force-pushed the fix/2665-selenide-element-wrapped-in-appium branch from 657e041 to 9cdf34c Compare March 7, 2024 07:18
@asolntsev asolntsev merged commit 7783a40 into main Mar 7, 2024
1 of 10 checks passed
@asolntsev asolntsev deleted the fix/2665-selenide-element-wrapped-in-appium branch March 7, 2024 07:19
Copy link

sonarcloud bot commented Mar 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Method shouldNotBe(exist) throws NoSuchElementException for a non-existent SelenideApiumElement
1 participant