summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2016-08-16 19:31:53 +0100
committerJason Smith <jason.smith@xamarin.com>2016-08-16 11:31:53 -0700
commit52dc625bce269e5de4913cc1da444d890bc93d10 (patch)
tree0cac527272ce7739d0950407bd8016aa57c0a436 /Xamarin.Forms.Core.iOS.UITests/Tests
parentf6febd4c81a80430331c7fcdcc63271aa4fa636c (diff)
downloadxamarin-forms-52dc625bce269e5de4913cc1da444d890bc93d10.tar.gz
xamarin-forms-52dc625bce269e5de4913cc1da444d890bc93d10.tar.bz2
xamarin-forms-52dc625bce269e5de4913cc1da444d890bc93d10.zip
[iOS] Change when we updated the XF INavigationPageController after popping a page natively, Cleanup UITest references (#291)
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-UnevenListTests.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-UnevenListTests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-UnevenListTests.cs
index b425545f..86a39ad3 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-UnevenListTests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-UnevenListTests.cs
@@ -21,10 +21,11 @@ namespace Xamarin.Forms.Core.UITests
[Test]
public void UnevenListCellTest ()
{
- if (UnevenListTests.ShouldRunTest(RunningApp.App)) {
- var element = App.Query (q => q.Marked ("unevenCellListGalleryDynamic").Descendant (("UITableViewCellContentView"))) [0];
-
- Assert.GreaterOrEqual (element.Rect.Height, 100);
+ if (UnevenListTests.ShouldRunTest(App))
+ {
+ var element = App.Query(q => q.Marked("unevenCellListGalleryDynamic").Descendant(("UITableViewCellContentView")))[0];
+
+ Assert.GreaterOrEqual(element.Rect.Height, 100);
}
}