diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-11-15 09:52:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 09:52:20 -0700 |
commit | d55799ce244229b8b42a9faae824dcaa907d1b99 (patch) | |
tree | 310ae0927d2e26c1addb0ac06d5e9ab2516972f7 /Xamarin.Forms.Core.iOS.UITests | |
parent | c45e034b475f61640669aa44566c9c052481626a (diff) | |
download | xamarin-forms-d55799ce244229b8b42a9faae824dcaa907d1b99.tar.gz xamarin-forms-d55799ce244229b8b42a9faae824dcaa907d1b99.tar.bz2 xamarin-forms-d55799ce244229b8b42a9faae824dcaa907d1b99.zip |
Attempting to fix possible race conditions in Automation ID tests (#533)
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs index 7746bafa..d397900b 100644 --- a/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs +++ b/Xamarin.Forms.Core.iOS.UITests/Tests/AutomationIDUITests.cs @@ -18,8 +18,8 @@ namespace Xamarin.Forms.Core.UITests [Test] public void Test1 () { + App.WaitForElement(c => c.Marked("btnTest1")); App.Tap (c => c.Marked ("btnTest1")); - App.WaitForElement (c => c.Marked ("scrollMain")); App.WaitForElement (c => c.Marked ("stckMain")); App.WaitForElement (c => c.Marked ("actHello")); App.WaitForElement (c => c.Marked ("bxvHello")); @@ -43,6 +43,7 @@ namespace Xamarin.Forms.Core.UITests [Test] public void Test2 () { + App.WaitForElement(c => c.Marked("btnTest2")); App.Tap (c => c.Marked ("btnTest2")); App.WaitForElement (c => c.Marked ("imgHello")); App.WaitForElement (c => c.Marked ("lstView")); |