-
Task
-
Resolution: Done
-
Major
-
2.7.0.GA
-
False
-
False
-
Undefined
-
From time to time, the test fails to wait for LS to be loaded. The test is checking the bottom bar for the LS initialization message. Currently, in the screenshot, it seems that the message was not present. From our experience with upstream tests - from time to time LS managed to be up and running before the test checked the bottom bar. We verified that in a video but it is not possible now, as in the video the bottom bar is not visible.
So, in the current state, we are not able to say if it is a test issue or LS was not initialized at all. This will require more investigation.
Test console log:
01:45:36 Check the language server features 01:45:36 Wait proper message in status bar 01:45:36 [WARN] Workaround for the https://issues.redhat.com/browse/CRW-1526 01:45:36 ▼ ProjectTree.expandPathAndOpenFile ".theia" filename: launch.json 01:45:36 ▼ ProjectTree.expandPath ".theia" 01:45:36 ▼ ProjectTree.expandItem ".theia" 01:45:37 ▼ ProjectTree.waitItemExpanded ".theia" 01:45:39 ▼ ProjectTree.clickOnItem ".theia/launch.json" 01:45:41 ▼ ProjectTree.waitItemSelected ".theia/launch.json" 01:45:41 ▼ Editor.waitEditorOpened "launch.json" 01:45:42 ▼ Editor.waitTab "launch.json" 01:45:42 ▼ ProjectTree.expandPathAndOpenFile "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/data" filename: MemberListProducer.java 01:45:42 ▼ ProjectTree.expandPath "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/data" 01:45:42 ▼ ProjectTree.expandItem "kitchensink-example" 01:45:42 ▼ ProjectTree.waitItemExpanded "kitchensink-example" 01:45:43 ▼ ProjectTree.expandItem "kitchensink-example/src" 01:45:44 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src" 01:45:44 ▼ ProjectTree.expandItem "kitchensink-example/src/main" 01:45:44 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main" 01:45:45 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java" 01:45:45 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java" 01:45:46 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java/org" 01:45:46 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java/org" 01:45:47 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java/org/jboss" 01:45:47 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java/org/jboss" 01:45:48 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java/org/jboss/as" 01:45:48 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java/org/jboss/as" 01:45:48 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java/org/jboss/as/quickstarts" 01:45:49 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java/org/jboss/as/quickstarts" 01:45:50 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp" 01:45:50 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp" 01:45:51 ▼ ProjectTree.expandItem "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/data" 01:45:51 ▼ ProjectTree.waitItemExpanded "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/data" 01:45:52 ▼ ProjectTree.clickOnItem "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/data/MemberListProducer.java" 01:45:53 ▼ ProjectTree.waitItemSelected "kitchensink-example/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/data/MemberListProducer.java" 01:45:53 ▼ Editor.waitEditorOpened "MemberListProducer.java" 01:45:54 ▼ Editor.waitTab "MemberListProducer.java" 01:45:54 ▼ Ide.checkLsInitializationStart 01:45:54 ▼ Ide.waitStatusBarContains "Activating Language Support" 01:46:17 1) Wait proper message in status bar 01:46:17 [ERROR] Test is failed. 01:46:17 Additional information (logs, dumps, screenshots) you can fing in the 01:46:17 "/tmp/report/The_"JavaEapMaven"_userstory_Check_the_language_server_features_Wait_proper_message_in_status_bar" folder. 01:46:17 01:46:17 01:46:17 7 passing (4m) 01:46:17 1 failing 01:46:17 01:46:17 1) The "JavaEapMaven" userstory 01:46:17 Check the language server features 01:46:17 Wait proper message in status bar: 01:46:17 TimeoutError: Wait timed out after 20130ms 01:46:17 at /tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:2201:17 01:46:17 at ManagedPromise.invokeCallback_ (/tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:1376:14) 01:46:17 at TaskQueue.execute_ (/tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:3084:14) 01:46:17 at TaskQueue.executeNext_ (/tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:3067:27) 01:46:17 at /tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:2927:27 01:46:17 at /tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:668:7 01:46:17 From: Task: <anonymous wait> 01:46:17 at scheduleWait (/tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:2188:20) 01:46:17 at ControlFlow.wait (/tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/promise.js:2517:12) 01:46:17 at thenableWebDriverProxy.wait (/tmp/e2e-codeready/.tmp/che/tests/e2e/node_modules/selenium-webdriver/lib/webdriver.js:934:29) 01:46:17 at Ide.waitStatusBarContains (/tmp/e2e-codeready/.tmp/che/tests/e2e/dist/pageobjects/ide/Ide.js:199:45) 01:46:17 at Ide.checkLsInitializationStart (/tmp/e2e-codeready/.tmp/che/tests/e2e/dist/pageobjects/ide/Ide.js:225:20) 01:46:17 at /tmp/e2e-codeready/dist/tests/default-stacks-tests/JavaEapMaven.spec.js:80:23 01:46:17 at Generator.next (<anonymous>) 01:46:17 at fulfilled (/tmp/e2e-codeready/dist/tests/default-stacks-tests/JavaEapMaven.spec.js:14:58) 01:46:17 at runMicrotasks (<anonymous>) 01:46:17 at processTicksAndRejections (internal/process/task_queues.js:93:5)