-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Selenium: change a way for selecting an element from suggestions list #8736
Conversation
By.xpath(format(Locators.FILE_NAME_LIST_SELECT, nameOfFile)))); | ||
|
||
webElement.click(); | ||
WaitUtils.sleepQuietly(500, MILLISECONDS); |
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.
Please, add comment to explain why we should wait so long here.
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.
It is timeout between selecting element and double click on it. 0.5 sec is not so long.
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.
Yes, you are right.
ci-test |
ci-test build report: |
…pdatemaster to master updated to 6.1.0 stable, new keycloak theme * commit 'e58465aaeea236ff051b8176af4581a443c0fd88': (115 commits) fixed fonts and added google fonts fallback added box shadow fix added lato regular as bold added lato light italic updated license header added Lato Light to fonts, removed CHE from login page ST-3764, ST-3613 Create keycloak docker image, and use the latest login theme Remove commented Updated version to 6.1.0 tag [maven-release-plugin] prepare release 6.1.0 RELEASE: Update dependencies versions RELEASE: Update parent pom version RELEASE: Set tags in Dockerfiles CHE-8747. Fix displaying pull request panel (eclipse-che#8760) Add different style for focusable element (eclipse-che#8757) Selenium: Add most common methods to the "SeleniumWebDriverHelper" (eclipse-che#8746) Selenium: increase timeout to check that a menu item is enabled (eclipse-che#8755) Support enter press in refactoring rename form (eclipse-che#8754) Selenium: change a way for selecting an element from suggestions list (eclipse-che#8736) CHE-7278 Properly handle restarting the workspace (eclipse-che#8612) ...
What does this PR do?
This PR modifies the selectFileByName method to send double-click on the found web element(not just double click).
What issues does this PR fix or reference?
#8465