26
26
using Range = OmniSharp . Extensions . LanguageServer . Protocol . Models . Range ;
27
27
using Microsoft . PowerShell . EditorServices . Logging ;
28
28
using Microsoft . PowerShell . EditorServices . Services . Configuration ;
29
+ using Microsoft . PowerShell . EditorServices . Utility ;
29
30
30
31
namespace PowerShellEditorServices . Test . E2E
31
32
{
@@ -924,9 +925,10 @@ await PsesLanguageClient
924
925
}
925
926
926
927
[ Trait ( "Category" , "LSP" ) ]
927
- [ Fact ]
928
+ [ SkippableFact ]
928
929
public async Task CanSendCompletionAndCompletionResolveRequestAsync ( )
929
930
{
931
+ Skip . If ( ! VersionUtils . IsLinux , "These depend on the help system, which is flaky on Linux." ) ;
930
932
string filePath = NewTestFile ( "Write-H" ) ;
931
933
932
934
CompletionList completionItems = await PsesLanguageClient . TextDocument . RequestCompletion (
@@ -950,9 +952,10 @@ public async Task CanSendCompletionAndCompletionResolveRequestAsync()
950
952
}
951
953
952
954
[ Trait ( "Category" , "LSP" ) ]
953
- [ Fact ]
955
+ [ SkippableFact ]
954
956
public async Task CanSendCompletionResolveWithModulePrefixRequestAsync ( )
955
957
{
958
+ Skip . If ( ! VersionUtils . IsLinux , "These depend on the help system, which is flaky on Linux." ) ;
956
959
await PsesLanguageClient
957
960
. SendRequest < EvaluateRequestArguments > (
958
961
"evaluate" ,
@@ -985,9 +988,10 @@ await PsesLanguageClient
985
988
}
986
989
987
990
[ Trait ( "Category" , "LSP" ) ]
988
- [ Fact ]
991
+ [ SkippableFact ]
989
992
public async Task CanSendHoverRequestAsync ( )
990
993
{
994
+ Skip . If ( ! VersionUtils . IsLinux , "These depend on the help system, which is flaky on Linux." ) ;
991
995
string filePath = NewTestFile ( "Write-Host" ) ;
992
996
993
997
Hover hover = await PsesLanguageClient . TextDocument . RequestHover (
0 commit comments