summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2016-12-29 16:18:35 (GMT)
committerE.Z. Hart <hartez@gmail.com>2016-12-29 16:18:35 (GMT)
commitefc1e93f8156df8e84605b118a2f455b8dcf36ab (patch)
tree0c912bde935b50cd73c40f60f17e0e6db2173b33 /Xamarin.Forms.Core.iOS.UITests/Tests
parent6785f4d9808db30a96ccef2cc4a03e56d274b135 (diff)
downloadxamarin-forms-efc1e93f8156df8e84605b118a2f455b8dcf36ab.zip
xamarin-forms-efc1e93f8156df8e84605b118a2f455b8dcf36ab.tar.gz
xamarin-forms-efc1e93f8156df8e84605b118a2f455b8dcf36ab.tar.bz2
Make CellsGalleryImageUrlCellList test finish early if possible
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests')
-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 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,