diff options
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Remotes/EventViewContainerRemote.cs')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Remotes/EventViewContainerRemote.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Remotes/EventViewContainerRemote.cs b/Xamarin.Forms.Core.iOS.UITests/Remotes/EventViewContainerRemote.cs new file mode 100644 index 00000000..d603974d --- /dev/null +++ b/Xamarin.Forms.Core.iOS.UITests/Remotes/EventViewContainerRemote.cs @@ -0,0 +1,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 (); + } + } +}
\ No newline at end of file |