Skip to content

Commit

Permalink
Revert "Use different winappdriver port"
Browse files Browse the repository at this point in the history
This reverts commit 17858fa.
  • Loading branch information
marcelwgn committed Aug 25, 2023
1 parent 9bb3080 commit b5e7c6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions UITests/SessionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace UITests
[TestClass]
public class SessionManager
{
private const string WindowsApplicationDriverUrl = "http://127.0.0.1:11118";
private const string WindowsApplicationDriverUrl = "http://127.0.0.1:4723";
private static readonly string[] WinUIGalleryAppIDs = new string[]{
"Microsoft.WinUI3ControlsGallery.Debug_grv3cx5qrw0gp!App",
"Microsoft.WinUI3ControlsGallery_grv3cx5qrw0gp!App"
Expand Down Expand Up @@ -62,11 +62,11 @@ public static void Setup(TestContext _)
// WinAppDriver is probably not running, so lets start it!
if (File.Exists(@"C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe"))
{
Process.Start(@"C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe", "11118");
Process.Start(@"C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe");
}
else if (File.Exists(@"C:\Program Files\Windows Application Driver\WinAppDriver.exe"))
{
Process.Start(@"C:\Program Files\Windows Application Driver\WinAppDriver.exe", "11118");
Process.Start(@"C:\Program Files\Windows Application Driver\WinAppDriver.exe");
}
else
{
Expand Down
5 changes: 2 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ steps:

- task: Windows Application Driver@0
inputs:
OperationType: 'Start'
WADArguments: '11118'
AgentResolution: '1080p'
OperationType: "Start"
AgentResolution: "1080p"

- task: VSTest@2
inputs:
Expand Down

0 comments on commit b5e7c6b

Please sign in to comment.