зеркало из https://github.com/DeGsoft/maui-linux.git
fix ui test for iOS (#2516)
This commit is contained in:
Родитель
b4e3365365
Коммит
2ce8b86474
|
@ -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"}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче