From efc1e93f8156df8e84605b118a2f455b8dcf36ab Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Thu, 29 Dec 2016 09:18:35 -0700 Subject: [PATCH] Make CellsGalleryImageUrlCellList test finish early if possible --- Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs index ca275c8..4019a07 100644 --- a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs +++ b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs @@ -121,6 +121,10 @@ namespace Xamarin.Forms.Core.UITests { await Task.Delay(1000); numberOfImages = App.Query(q => q.Raw(PlatformViews.Image)).Length; + if (numberOfImages > 2) + { + break; + } } // Check that there are images present. In Android, -- 2.7.4