Happy path tests are failing on 'Language server validation' step
See original GitHub issueDescribe the bug
Happy path tests are failing on the Language server validation
step.
14:06:25 Language server validation
14:09:06 ✓ Java LS initialization (160259ms)
14:10:11 1) Error highlighting
14:10:11 [ERROR] CheReporter runner.on.fail: Language server validation Error highlighting failed after 65388ms
14:10:11
14:10:11
14:10:11 4 passing (4m)
14:10:11 1 failing
14:10:11
14:10:11 1) Language server validation
14:10:11 Error highlighting:
14:10:11 TimeoutError: Exceeded maximum visibility checkings attempts for 'By(xpath, //div[contains(@style, 'top:551px')]//div[contains(@class, 'squiggly-error')])' element, timeouted after 60000
14:10:11 at DriverHelper.waitVisibility (/tmp/e2e/utils/DriverHelper.ts:152:15)
14:10:11 at process._tickCallback (internal/process/next_tick.js:68:7)
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
I checked it on a test PR without any changes: https://github.com/eclipse/che-theia/pull/695#issuecomment-775092583
Expected behavior
The tests are happy.
Runtime
I detected it on PR’s check
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Re: [che-dev] Status of Happy path PR check of Eclipse Che repos
E2E Happy path tests fails on autocomplete validation step. If your PR is for Eclipse Che repo - please, make sure you have...
Read more >Don't just test the happy path. The point of this ... - Dev Genius
Happy path testing can leave gaps for nulls, incorrect values and a host of error checking/validating errors to slip into a production system...
Read more >HAPPY PATH TESTING - SOFTWARE TESTING - H2k Infosys
Happy Path testing is a procedure where the test uses the known input and executes without any exception and produce expected output.
Read more >r25907 - Language Server - Locations - rest (fia/pull/49']#49 ...
Language Server - Locations - rest (#49) * remove license from Command.java ... Right now, this provides some testing the happy path: you...
Read more >Testing Your Assistant - Rasa
If data validation results in errors, training a model can also fail or ... Basics; Button Payload; Custom Actions; Forms Happy Path; Forms...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should be fixed in https://github.com/eclipse/che/pull/19068
@dmytro-ndp As I mentioned above for my current issue it’s pretty critical to have
Happy Path
tests working. So, I added a delay toLanguage server validation
step. You can see my changes here - actually it’s just one line with the delay 20 seconds:Maybe 20 seconds is too long delay - I don’t know - it’s just a workaround for testing my changes.
Today I rerun the tests 6 times,
Language server validation
test passed successfully without any exception. You can see it in the corresponding reports:The tests failed due to another issue: https://github.com/eclipse/che/issues/19085.
Note: my delay is before typing a text, not
to highlight error