summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Remotes/LayeredViewContainerRemote.cs
blob: 6f6c1071dc940fcf7e41f59bd7be5acb3de32b83 (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
using System;
using System.Linq;
using System.Security.Cryptography.X509Certificates;

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

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

		public AppResult GetLayeredLabel ()
		{
			return App.Query (q => q.Raw (LayeredLabelQuery)).First ();
		}

		public void TapHiddenButton ()
		{
			App.Tap (q => q.Raw (LayeredHiddenButtonQuery));
		}
	}
}