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

Selenium: change a way for selecting an element from suggestions list #8736

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

SkorikSergey
Copy link
Contributor

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

@SkorikSergey SkorikSergey added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. team/che-qe labels Feb 12, 2018
By.xpath(format(Locators.FILE_NAME_LIST_SELECT, nameOfFile))));

webElement.click();
WaitUtils.sleepQuietly(500, MILLISECONDS);
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you are right.

@dmytro-ndp
Copy link
Contributor

ci-test

@codenvy-ci
Copy link

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:8736
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@SkorikSergey SkorikSergey merged commit 7bb45b6 into master Feb 13, 2018
@SkorikSergey SkorikSergey deleted the NavigateToFileTest branch February 13, 2018 07:35
@benoitf benoitf added this to the 6.1.0 milestone Feb 13, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Feb 13, 2018
hkolvenbach pushed a commit to hkolvenbach/che that referenced this pull request Mar 2, 2018
…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)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants