eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.96k stars 1.19k forks source link

Unexpected fail of CheckErrorsWarningsTabTest in the selenium tests #8583

Closed Ohrimenko1988 closed 6 years ago

Ohrimenko1988 commented 6 years ago

Description

We have unexpected fail of CheckErrorsWarningsTabTest in the selenium tests, it looks like something went wrong with a method which does click to the item in the "Preferences" form. We need to investigate and fix this problem. **Log:** ``` org.openqa.selenium.ElementNotVisibleException: element not visible (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) Command duration or timeout: 189 milliseconds Build info: version: '3.1.0', revision: '86a5d70', time: '2017-02-16 07:57:44 -0800' System info: host: '661cb80d0add', ip: '172.20.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.16.1.el7.x86_64', java.version: '1.8.0_121' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320), userDataDir=/tmp/.org.chromium.Chromium.cTVNJ3}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] Session ID: 2c4180fae34bc330547f7fc2c92292ad Command duration or timeout: 956 milliseconds 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.openqa.selenium.remote.RemoteWebDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=true, chrome={chromedriverVersion=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320), userDataDir=/tmp/.org.chromium.Chromium.cTVNJ3}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=true, version=56.0.2924.87, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, webdriver.remote.sessionid=9e76482f-2478-4c5e-add1-b7ed4ed5e656, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] Session ID: 9e76482f-2478-4c5e-add1-b7ed4ed5e656 at org.eclipse.che.selenium.preferences.CheckErrorsWarningsTabTest.changeAllSettingsInErrorsWarningsTab(CheckErrorsWarningsTabTest.java:120) at org.eclipse.che.selenium.preferences.CheckErrorsWarningsTabTest.errorsWarningTest(CheckErrorsWarningsTabTest.java:105) Caused by: org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken 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: driver.version: RemoteWebDriver at org.eclipse.che.selenium.preferences.CheckErrorsWarningsTabTest.changeAllSettingsInErrorsWarningsTab(CheckErrorsWarningsTabTest.java:120) at org.eclipse.che.selenium.preferences.CheckErrorsWarningsTabTest.errorsWarningTest(CheckErrorsWarningsTabTest.java:105) Caused by: org.openqa.selenium.ElementNotVisibleException: element not visible (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) Command duration or timeout: 189 milliseconds Build info: version: '3.1.0', revision: '86a5d70', time: '2017-02-16 07:57:44 -0800' System info: host: '661cb80d0add', ip: '172.20.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.16.1.el7.x86_64', java.version: '1.8.0_121' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320), userDataDir=/tmp/.org.chromium.Chromium.cTVNJ3}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] Session ID: 2c4180fae34bc330547f7fc2c92292ad 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: driver.version: RemoteWebDriver ``` **Screenshot:** ![fffffffff](https://user-images.githubusercontent.com/22724619/35736356-680f67ae-0830-11e8-8109-14fe13524dac.png) **Report with reproduced problem:** https://ci.codenvycorp.com/view/qa/job/che-integration-tests-multiuser-master-ocp/103/Selenium_tests_report/
Ohrimenko1988 commented 6 years ago

Done https://github.com/eclipse/che/pull/8591