summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2016-12-29 09:18:35 -0700
committerE.Z. Hart <hartez@gmail.com>2016-12-29 09:18:35 -0700
commitefc1e93f8156df8e84605b118a2f455b8dcf36ab (patch)
tree0c912bde935b50cd73c40f60f17e0e6db2173b33 /Xamarin.Forms.Core.iOS.UITests
parent6785f4d9808db30a96ccef2cc4a03e56d274b135 (diff)
downloadxamarin-forms-efc1e93f8156df8e84605b118a2f455b8dcf36ab.tar.gz
xamarin-forms-efc1e93f8156df8e84605b118a2f455b8dcf36ab.tar.bz2
xamarin-forms-efc1e93f8156df8e84605b118a2f455b8dcf36ab.zip
Make CellsGalleryImageUrlCellList test finish early if possible
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-CellsUITests.cs
index ca275c81..4019a07f 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,