This commit is contained in:
Shane Neuville 2018-04-23 07:49:38 -06:00 коммит произвёл Rui Marinho
Родитель b4e3365365
Коммит 2ce8b86474
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -96,7 +96,7 @@ namespace Xamarin.Forms.Controls.Issues
{ {
RunningApp.WaitForElement(q => q.Text("MasterDetail Navigation")); RunningApp.WaitForElement(q => q.Text("MasterDetail Navigation"));
RunningApp.Tap(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("Page 1"));
RunningApp.Tap(q => q.Text("START")); RunningApp.Tap(q => q.Text("START"));
RunningApp.Tap(q => q.Text("MasterDetail Navigation ->> Page 1")); RunningApp.Tap(q => q.Text("MasterDetail Navigation ->> Page 1"));
@ -142,7 +142,8 @@ namespace Xamarin.Forms.Controls.Issues
Content = new StackLayout Content = new StackLayout
{ {
Children = { 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"}
} }
} }
}); });