Fix ios test queries (#70)
authorJason Smith <jason.smith@xamarin.com>
Sun, 10 Apr 2016 09:23:41 +0000 (02:23 -0700)
committerJason Smith <jason.smith@xamarin.com>
Sun, 10 Apr 2016 09:23:41 +0000 (02:23 -0700)
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40173.cs

index 422e363..34cc669 100644 (file)
@@ -20,14 +20,14 @@ namespace Xamarin.Forms.Controls
         [Test]
         public void ButtonBlocked()
         {
-            RunningApp.Tap(q => q.Marked(CantTouchButtonId));
-            RunningApp.WaitForNoElement(q => q.Text(CantTouchFailText));
+            RunningApp.Tap(q => q.All().Marked(CantTouchButtonId));
+            RunningApp.WaitForNoElement(q => q.All().Text(CantTouchFailText));
 
-            RunningApp.Tap(q => q.Marked(CanTouchButtonId));
-            RunningApp.WaitForElement(q => q.Text(CanTouchSuccessText));
+            RunningApp.Tap(q => q.All().Marked(CanTouchButtonId));
+            RunningApp.WaitForElement(q => q.All().Text(CanTouchSuccessText));
 
-            RunningApp.Tap(q => q.Marked(ListTapTarget));
-            RunningApp.WaitForElement(q => q.Text(ListTapSuccessText));
+            RunningApp.Tap(q => q.All().Marked(ListTapTarget));
+            RunningApp.WaitForElement(q => q.All().Text(ListTapSuccessText));
         }
 #endif