Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (35 sloc) 1.14 KB
using System;
using NUnit.Framework;
using Xamarin.UITest;
namespace Xamarin.UITest.POPSample
public abstract class BaseTestFixture
protected IApp app => AppManager.App;
protected bool OnAndroid => AppManager.Platform == Platform.Android;
protected bool OniOS => AppManager.Platform == Platform.iOS;
protected BaseTestFixture(Platform platform)
AppManager.Platform = platform;
public virtual void BeforeEachTest()
protected void EnterTask(string name, string notes = null)
new TaskListPage()
new TaskDetailsPage()
.EnterTask(name, notes)
new TaskListPage()
// You can edit this file to define functionality that is common across many or all tests.
// For example, you could add a method here to log in or dismiss a welcome dialogue.
You can’t perform that action at this time.