diff options
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-BoundViewUITest.cs')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-BoundViewUITest.cs | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-BoundViewUITest.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-BoundViewUITest.cs deleted file mode 100644 index 4f2a733a..00000000 --- a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-BoundViewUITest.cs +++ /dev/null @@ -1,93 +0,0 @@ -using NUnit.Framework; -using Xamarin.UITest; -using System; -using System.Threading; - -namespace Xamarin.Forms.Core.UITests -{ - [TestFixture] - [Category ("Templated")] - internal class BoundViewGalleryTests : BaseTestFixture - { - // TODO: Port to new conventions - - public BoundViewGalleryTests () - { - ShouldResetPerFixture = false; - } - - protected override void NavigateToGallery () - { - App.NavigateToGallery (GalleryQueries.BoundPageGalleryLegacy); - } - - //void AllElementsPresent () - //{ - // App.WaitForElement (q => q.Button ("Click Me!")); - // App.Screenshot ("All elements present"); - //} - - [Test] - [Description ("Test bound view navigation")] - public void BoundViewGalleryNavigateToAndBack () - { - App.Screenshot ("At Gallery"); - -// AllElementsPresent (); - -// App.Tap (q => q.Button ("Click Me!")); -// App.WaitForElement (q => q.Marked ("Second Page"), "Timeout : Second Page"); -// App.Screenshot ("Navigation to next page successful"); - -// App.Tap (PlatformQueries.Back); -// App.WaitForElement (q => q.Button ("Click Me!"), "Timeout : Click Me!"); -// App.Screenshot ("Navigation back successful"); - } - -// [Test] -// [Description ("Test button click")] -// public void BoundViewGalleryClickButton () -// { -// App.Tap (q => q.Button ("Click Me!")); -// App.WaitForElement (q => q.Marked ("Second Page"), "Timeout : Second Page"); -// } - - -// [Test] -// [Description ("Verify all elements are preset - landscape")] -// public void BoundViewGalleryAllElementsPresentLandscape () -// { -// App.SetOrientationLandscape (); -// Thread.Sleep (1000); -// App.Screenshot ("Rotated to Landscape"); -// AllElementsPresent (); -// App.SetOrientationPortrait (); -// App.Screenshot ("Rotated to Portrait"); -// } - -// [Test] -// [Description ("Test bound view navigation- landscape")] -// public void BoundViewGalleryNavigateToAndBackLandscape () -// { -// App.SetOrientationLandscape (); -// Thread.Sleep (1000); -// App.Screenshot ("Rotated to Landscape"); -// BoundViewGalleryNavigateToAndBack (); -// App.SetOrientationPortrait (); -// App.Screenshot ("Rotated to Portrait"); -// } - -// [Test] -// [Description ("Test button click - landscape")] -// public void BoundViewGalleryClickButtonLandscape () -// { -// App.SetOrientationLandscape (); -// Thread.Sleep (1000); -// App.Screenshot ("Rotated to Landscape"); -// BoundViewGalleryClickButton (); -// App.SetOrientationPortrait (); -// App.Screenshot ("Rotated to Portrait"); -// } - - } -} |