summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/App.cs
blob: dee82d8c537194594ababc0840888c6703b578a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using NUnit.Framework;

using Xamarin.UITest;
using Xamarin.UITest.iOS;

namespace Xamarin.Forms.Core.UITests
{
	internal static class RunningApp
	{
		public static iOSApp App;
	
		public static void Restart () 
		{
			App = ConfigureApp
				.iOS
				.Debug ()
				// Keeping the old BundleId for now, Test Cloud doesn't 
				// like it when we update the BundleId for an existing app
				.InstalledApp ("com.xamarin.quickui.controlgallery")
				.StartApp (Xamarin.UITest.Configuration.AppDataMode.Clear);
		}
	}
}