瀏覽代碼

Merge pull request #10555 from AvaloniaUI/flaky-mac-os-test

Flaky MacOS Integration tests: add a delay when closing child windows.
Dan Walmsley 2 年之前
父節點
當前提交
736d9860b0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/Avalonia.IntegrationTests.Appium/ElementExtensions.cs

+ 1 - 0
tests/Avalonia.IntegrationTests.Appium/ElementExtensions.cs

@@ -140,6 +140,7 @@ namespace Avalonia.IntegrationTests.Appium
                         .First(x => x.Text == newWindowTitle);
                     var (close, _, _) = ((AppiumWebElement)newWindow).GetChromeButtons();
                     close!.Click();
+                    Thread.Sleep(1000);
                 });
             }
         }