-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Moved alert/prompts and confirmations examples of Java tab to example sections and updated the ... #1900
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
Moved alert/prompts and confirmations examples of Java tab to example sections and updated the ... #1900
Conversation
❌ Deploy Preview for selenium-dev failed.
|
CLA assistant check
All committers have signed the CLA.
PR Reviewer Guide 🔍
Code Duplication
There is some code duplication in the test methods, particularly in setting up the driver, navigating to the page, and handling alerts. Consider extracting common setup code to a separate method or using @before annotations.
Incomplete Assertion
In the promptDefaultInputTest method, there's a comment indicating that implementation is needed to check if the default value is accepted. This test is incomplete and should be fully implemented.
PR Code Suggestions ✨
|
@harsha509 Can you please guide me on the failed check case Run Java examples / tests (windows, nightly) (pull_request) . I am getting hard to understand what check it has been failed with the failed log details.
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.
Thank you!
Uh oh!
There was an error while loading. Please reload this page.
User description
Description
Motivation and Context
I wanted to ensure that users can get real example of using the alerts pop up and they can execute it easily by copying the test files.
Types of changes
Checklist
PR Type
Tests, Documentation
Description
Changes walkthrough 📝
AlertsTest.java
Add comprehensive alert handling test cases in Javaexamples/java/src/test/java/dev/selenium/interactions/AlertsTest.java
alerts.en.md
Update Java alert examples with code referenceswebsite_and_docs/content/documentation/webdriver/interactions/alerts.en.md
alerts.ja.md
Update Java alert examples with code referenceswebsite_and_docs/content/documentation/webdriver/interactions/alerts.ja.md
alerts.pt-br.md
Update Java alert examples with code referenceswebsite_and_docs/content/documentation/webdriver/interactions/alerts.pt-br.md
alerts.zh-cn.md
Update Java alert examples with code referenceswebsite_and_docs/content/documentation/webdriver/interactions/alerts.zh-cn.md