From: E.Z. Hart Date: Thu, 29 Dec 2016 16:18:35 +0000 (-0700) Subject: Make CellsGalleryImageUrlCellList test finish early if possible X-Git-Tag: beta-2.3.4-pre1.1~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efc1e93f8156df8e84605b118a2f455b8dcf36ab;p=platform%2Fupstream%2Fxamarin-forms.git Make CellsGalleryImageUrlCellList test finish early if possible --- 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,