Browse Source

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

Flaky MacOS Integration tests: add a delay when closing child windows.
pull/10558/head
Dan Walmsley 4 years ago
committed by GitHub
parent
commit
736d9860b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      tests/Avalonia.IntegrationTests.Appium/ElementExtensions.cs

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

Loading…
Cancel
Save