-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement workaround for Go to Definition feature HappyPath scenario #14570
Merged
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
dadb74b
implement workaround for Go to symbol feature
musienko-maxim 0df4f39
Fix typo
musienko-maxim e72ef12
add proposals to PR
musienko-maxim e22f798
correct formatting
musienko-maxim 2d4a1d4
apply new formatting, correct mistakes
musienko-maxim c6bf827
Merge branch 'master' into che#14522
musienko-maxim 5b45a7a
merge with master
musienko-maxim 557d787
remove redundant line
musienko-maxim dd2f6f8
add empty lines
musienko-maxim e74332e
Apply correct formatting
musienko-maxim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
**********************************************************************/ | ||
|
||
import { e2eContainer } from '../../inversify.config'; | ||
import { DriverHelper, } from '../../utils/DriverHelper'; | ||
import { DriverHelper } from '../../utils/DriverHelper'; | ||
import { TYPES, CLASSES } from '../../inversify.types'; | ||
import { Ide, RightToolbarButton } from '../../pageobjects/ide/Ide'; | ||
import { ProjectTree } from '../../pageobjects/ide/ProjectTree'; | ||
|
@@ -121,9 +121,15 @@ suite('Language server validation', async () => { | |
|
||
test('Codenavigation', async () => { | ||
await editor.moveCursorToLineAndChar(javaFileName, 32, 17); | ||
await checkCodeNavigationWithContextMenu(); | ||
// await editor.performKeyCombination(javaFileName, Key.chord(Key.CONTROL, Key.F12)); | ||
await editor.waitEditorAvailable(codeNavigationClassName); | ||
try { | ||
await editor.performKeyCombination(javaFileName, Key.chord(Key.CONTROL, Key.F12)); | ||
await editor.waitEditorAvailable(codeNavigationClassName); | ||
} | ||
catch (err) { | ||
if (err instanceof error.TimeoutError) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be clearer to have comment with link to issue. |
||
checkCodeNavigationWithContextMenu(); | ||
} | ||
} | ||
}); | ||
|
||
test.skip('Yaml LS initialization', async () => { | ||
|
@@ -295,7 +301,7 @@ async function runTask(task: string) { | |
async function checkCodeNavigationWithContextMenu() { | ||
musienko-maxim marked this conversation as resolved.
Show resolved
Hide resolved
|
||
await contextMenu.invokeContextMenuOnActiveElementWithKeys(); | ||
await contextMenu.waitContextMenuAndClickOnItem('Go to Definition'); | ||
console.log('please check the satus of the known issue: https://github.com/eclipse/che/issues/14520. If it is fixed, we have to return the test to previous state.'); | ||
console.log('Known isuue https://github.com/eclipse/che/issues/14520.'); | ||
} | ||
// sometimes under high loading the first click can be failed | ||
async function isureClickOnDebugMenu() { | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looked more readable with empty line 59.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it wasn't fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant empty line between
return builder;
.