소스 검색

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);
                 });
             }
         }