Make test 60122 actually test for success
authorE.Z. Hart <hartez@gmail.com>
Fri, 17 Nov 2017 21:52:22 +0000 (14:52 -0700)
committerE.Z. Hart <hartez@gmail.com>
Fri, 17 Nov 2017 21:52:22 +0000 (14:52 -0700)
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla60122.cs

index cb39a28..52ce3eb 100644 (file)
@@ -49,14 +49,17 @@ namespace Xamarin.Forms.Controls.Issues
                        }
                }
 
-#if UITEST
+#if UITEST && !__WINDOWS__ 
+
+               // This test won't work on Windows right now because we can only test desktop, so touch events
+               // (like LongPress) don't really work. The test should work manually on a touch screen, though.
+
                [Test]
                public void LongClickFiresOnCustomImageRenderer ()
                {
                        RunningApp.WaitForElement (ImageId);
                        RunningApp.TouchAndHold(ImageId);
-
-                       // ???
+                       RunningApp.WaitForElement (Success);
                }
 #endif
        }