summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
index 4aeb5cc..9b814a9 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs
@@ -3,6 +3,7 @@ using Xamarin.UITest;
using System;
using System.Threading;
using Xamarin.UITest.Queries;
+using System.Threading.Tasks;
namespace Xamarin.Forms.Core.UITests
{
@@ -41,8 +42,9 @@ namespace Xamarin.Forms.Core.UITests
[Test]
- public void Test2 ()
+ public async void Test2()
{
+ await Task.Delay(1000);
App.WaitForElement(c => c.Marked("btnTest2"));
App.Tap (c => c.Marked ("btnTest2"));
App.WaitForElement (c => c.Marked ("imgHello"));