File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
dotnet/test/common/Environment Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323using System . IO ;
2424using System . Net ;
2525using System . Net . Http ;
26- using System . Text ;
2726using System . Threading . Tasks ;
2827
2928namespace OpenQA . Selenium . Environment
@@ -55,12 +54,10 @@ public async Task StartAsync()
5554 var runfiles = Runfiles . Create ( ) ;
5655 standaloneAppserverPath = runfiles . Rlocation ( @"_main/java/test/org/openqa/selenium/environment/appserver" ) ;
5756 }
58- // means we are NOT running under bazel runtime
59- // most likely in IDE
6057 catch ( FileNotFoundException )
6158 {
62- //var baseDirectory = AppContext.BaseDirectory;
63- //standaloneAppserverPath = Path.Combine(baseDirectory, "../../../../../../bazel-bin/java/test/org/openqa/selenium/environment/appserver");
59+ // means we are NOT running under bazel runtime
60+ // most likely in IDE
6461 }
6562
6663 var processFileName = standaloneAppserverPath ?? "bazel" ;
@@ -70,6 +67,8 @@ public async Task StartAsync()
7067 if ( standaloneAppserverPath is null )
7168 {
7269 processArguments = $ "run //java/test/org/openqa/selenium/environment:appserver { processArguments } ";
70+
71+ // Override project root path to be exact selenium repo path, not 'bazel-bin'
7372 projectRootPath = Path . Combine ( AppContext . BaseDirectory , "../../../../../.." ) ;
7473 }
7574
You can’t perform that action at this time.
0 commit comments