views: remove two NativeWidgetMac unit tests
Both of these tests are inherently flaky because they rely on events in the native system that we can neither observe nor wait for completion of. Specifically: * OrderFrontAfterMiniaturize relies on being able to figure out when a miniaturize is complete, which it attempts to do by sleeping for 2 seconds; this obviously causes flakes depending on bot load * VisibleAfterNativeParentShow depends on [NSApp hide:], which has different behavior depending on whether other unit tests are running in parallel; this makes the test inherently flaky The latter *could* be rewritten as an interactive UI tests instead, but I think it does not test anything of value compared to the similar test at the Widget layer. Bug: None Change-Id: Ida502a4ee839fbe764af73eff1df08631e450838 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463993 Commit-Queue: Robert Liao <robliao@chromium.org> Reviewed-by:Robert Liao <robliao@chromium.org> Cr-Commit-Position: refs/heads/master@{#815818}
Showing
Please register or sign in to comment