From 2ce8b864745ed00dcc71348c4754cbc0cf5121fa Mon Sep 17 00:00:00 2001 From: Shane Neuville Date: Mon, 23 Apr 2018 07:49:38 -0600 Subject: [PATCH] fix ui test for iOS (#2516) --- .../Xamarin.Forms.Controls.Issues.Shared/Issue2266.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2266.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2266.cs index bd11215f8..9f64ca033 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2266.cs +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue2266.cs @@ -96,7 +96,7 @@ namespace Xamarin.Forms.Controls.Issues { RunningApp.WaitForElement(q => q.Text("MasterDetail Navigation")); RunningApp.Tap(q => q.Text("MasterDetail Navigation")); - RunningApp.Tap(q => q.Marked("OK")); + RunningApp.Tap(q => q.Marked("OpenMaster")); RunningApp.Tap(q => q.Text("Page 1")); RunningApp.Tap(q => q.Text("START")); RunningApp.Tap(q => q.Text("MasterDetail Navigation ->> Page 1")); @@ -142,7 +142,8 @@ namespace Xamarin.Forms.Controls.Issues Content = new StackLayout { Children = { - new Label { Text = "Select a menu item" } + new Label { Text = "Select a menu item" }, + new Button {Command = new Command(() => this.IsPresented = true), AutomationId = "OpenMaster", Text = "Open Master"} } } });