summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Remotes/EventViewContainerRemote.cs
blob: d603974db33931075ff6d25656a344bc4e7c9226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Linq;

using Xamarin.UITest;
using Xamarin.UITest.Queries;

namespace Xamarin.Forms.Core.UITests
{
	internal sealed class EventViewContainerRemote : BaseViewContainerRemote
	{
		public EventViewContainerRemote (IApp app, Enum formsType, string platformViewType)
			: base (app, formsType, platformViewType) { }

		public AppResult GetEventLabel ()
		{
			App.WaitForElement (q => q.Raw (EventLabelQuery));
			return App.Query (q => q.Raw (EventLabelQuery)).First ();
		}
	}
}