Skip to content

Commit 35dc674

Browse files
authored
test: add missing AutomationName option to StickyNotesTest (#606)
1 parent 690b9cb commit 35dc674

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/Windows/StickyNotesTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public void BeforeAll()
4343
AppiumOptions appCapabilities = new AppiumOptions();
4444
appCapabilities.App = StickyNotesAppId;
4545
appCapabilities.DeviceName = "WindowsPC";
46+
appCapabilities.AutomationName = "Windows";
4647
session = new WindowsDriver(serverUri, appCapabilities);
4748
}
4849
catch
@@ -53,6 +54,7 @@ public void BeforeAll()
5354
AppiumOptions desktopCapabilities = new AppiumOptions();
5455
desktopCapabilities.App = "Root";
5556
desktopCapabilities.DeviceName = "WindowsPC";
57+
desktopCapabilities.AutomationName = "Windows";
5658
var desktopSession = new WindowsDriver(serverUri, desktopCapabilities);
5759

5860
var StickyNotesTopLevelWindow = desktopSession.FindElement(MobileBy.ClassName("Modern_Sticky_Top_Window"));

0 commit comments

Comments
 (0)