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: increase timeout to check that a menu item is enabled #8755

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

SkorikSergey
Copy link
Contributor

What does this PR do?

This PR increases timeout for checking that a menu item enabled. It need because sometimes existed 20 sec is not enough for selenium tests on CI.

selection_172

Log:

org.openqa.selenium.TimeoutException:  Expected condition failed: waiting for visibility of element located by By.id: gwt-debug-MenuItem/profileGroup-true (tried for 20 second(s) with 500 MILLISECONDS interval) Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700' System info: host: 'slave7.codenvycorp.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.16.1.el7.x86_64', java.version: '1.8.0_102' Driver info: org.eclipse.che.selenium.core.SeleniumWebDriver 	at org.eclipse.che.selenium.workspaces.WorkingWithNodeWsTest.checkNodeJsWsAndRunApp(WorkingWithNodeWsTest.java:89) Caused by: org.openqa.selenium.NoSuchElementException:  no such element: Unable to locate element: {"method":"id","selector":"gwt-debug-MenuItem/profileGroup-true"}   (Session info: chrome=56.0.2924.87)   (Driver info: chromedriver=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320),platform=Linux 3.10.0-514.16.1.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)

Report with reproduced problem:
https://ci.codenvycorp.com/view/qa/job/che-integration-tests-master-docker/178/Selenium_tests_report/

@SkorikSergey SkorikSergey added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/che-qe labels Feb 13, 2018
@SkorikSergey SkorikSergey merged commit 549e437 into master Feb 13, 2018
@SkorikSergey SkorikSergey deleted the waitMenuItem branch February 13, 2018 14:53
@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
@benoitf benoitf added this to the 6.1.0 milestone 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants