From 8227ac53473240f09c86aa422bad626244c50d06 Mon Sep 17 00:00:00 2001 From: Gerald Versluis Date: Thu, 8 Aug 2019 12:49:36 +0200 Subject: [PATCH] Update Issue4187.cs (#7087) --- .../Xamarin.Forms.Controls.Issues.Shared/Issue4187.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue4187.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue4187.cs index 5e437f28e..372719eaa 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue4187.cs +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue4187.cs @@ -189,7 +189,7 @@ namespace Xamarin.Forms.Controls.Issues bool DialogIsOpened() { - Thread.Sleep(1500); + RunningApp.WaitForElement(q => q.Class("FrameLayout")); var frameLayouts = RunningApp.Query(q => q.Class("FrameLayout")); foreach (var layout in frameLayouts) {