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

[Language server] Sometimes Hover popup window does not appear #10674

Closed
SkorikSergey opened this issue Aug 6, 2018 · 1 comment
Closed

[Language server] Sometimes Hover popup window does not appear #10674

SkorikSergey opened this issue Aug 6, 2018 · 1 comment
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@SkorikSergey
Copy link
Contributor

SkorikSergey commented Aug 6, 2018

Description

We have unexpected fail of YamlFileEditingTest selenium test. The test fails when checking expected text from hover popup. We should clarify reason and fix it.

Remarks

Randomly reproducing
Related selenium tests: YamlFileEditingTest, GolangFileEditingTest

Reproduction Steps:

  1. Create workspace through Dashboard based on Node stack with any project.
  2. Enable Yaml language server and start the workspace.
  3. Set YAML schema:
    • menu Profile -> Preferences.
    • select Yaml -> click 'Add Schema Url' button -> type "kubernetes".
  4. Create "openshift.yaml" file and add content:
apiVersion: v1
kind: PersistentVolume
metadata:
  1. Move the mouse pointer over the kind: PersistentVolume text several times.

Expected result:
Hover popup with text Kind is a string value representing the REST resource this object represents.appeared on every move.

Actual result:
After some movement the Hover pop-up window doesn't appear. There is an error message in the browser console(see screenshot).

Screenshot:
selection_097

Report with reproduced problem:
https://ci.codenvycorp.com/view/qa/job/che-integration-tests-multiuser-master-ocp/309/Selenium_20tests_20report/

**Log:** ``` org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of [[RemoteWebDriver: chrome on LINUX (64c1f911-8538-412f-90a8-1d790b81b40a)] -> xpath: //div[@Class='textviewTooltip'][last()]] (tried for 10 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: 'slave4.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.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:265) at org.eclipse.che.selenium.core.webdriver.SeleniumWebDriverHelper.waitVisibility(SeleniumWebDriverHelper.java:158) at org.eclipse.che.selenium.core.webdriver.SeleniumWebDriverHelper.lambda$waitTextContains$7(SeleniumWebDriverHelper.java:746) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238) at org.eclipse.che.selenium.core.webdriver.SeleniumWebDriverHelper.waitTextContains(SeleniumWebDriverHelper.java:744) at org.eclipse.che.selenium.core.webdriver.SeleniumWebDriverHelper.waitTextContains(SeleniumWebDriverHelper.java:758) at org.eclipse.che.selenium.pageobject.CodenvyEditor.waitTextInHoverPopup(CodenvyEditor.java:444) at org.eclipse.che.selenium.languageserver.YamlFileEditingTest.checkHoverFeature(YamlFileEditingTest.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) ```
@SkorikSergey SkorikSergey added kind/bug Outline of a bug - must adhere to the bug report template. status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. team/che-qe labels Aug 6, 2018
@SkorikSergey SkorikSergey self-assigned this Aug 6, 2018
@SkorikSergey SkorikSergey added status/in-progress This issue has been taken by an engineer and is under active development. and removed status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. labels Aug 17, 2018
SkorikSergey pushed a commit that referenced this issue Aug 22, 2018
…10877)

* add info about known #10674 issue to YamlFileEditingTest

* fix expected stacks order on New Workspace page in NewWorkspacePageTest selenium test

* wait that project is fully imported in CSharpFileEditingTest

* add info about known issue to CodenvyEditor page object

* change comment according to review
@SkorikSergey SkorikSergey changed the title Unexpected fail of YamlFileEditingTest selenium test [Language server] Unexpected fail of YamlFileEditingTest selenium test Aug 23, 2018
@SkorikSergey SkorikSergey changed the title [Language server] Unexpected fail of YamlFileEditingTest selenium test [Language server] Sometimes Hover popup window does not appear Aug 27, 2018
@vparfonov vparfonov added team/ide severity/P2 Has a minor but important impact to the usage or development of the system. labels Aug 27, 2018
@SkorikSergey SkorikSergey removed their assignment Aug 29, 2018
@vparfonov vparfonov removed the status/in-progress This issue has been taken by an engineer and is under active development. label Aug 30, 2018
dmytro-ndp pushed a commit that referenced this issue Oct 22, 2018
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
@SkorikSergey
Copy link
Contributor Author

Not relevant anymore. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants