diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 13:02:25 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 16:13:41 -0700 |
commit | 17fdde66d94155fc62a034fa6658995bef6fd6e5 (patch) | |
tree | b5e5073a2a7b15cdbe826faa5c763e270a505729 /Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs | |
download | xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.gz xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.bz2 xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.zip |
Initial import
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs new file mode 100644 index 00000000..5af7751d --- /dev/null +++ b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs @@ -0,0 +1,57 @@ +using NUnit.Framework; +using Xamarin.UITest; +using System; +using System.Threading; +using Xamarin.UITest.Queries; +using System.Diagnostics; + +namespace Xamarin.Forms.Core.UITests +{ + //[TestFixture] + //[Category ("NavigationPage")] + internal class NavigationBarGalleryTests : BaseTestFixture + { + // TODO: Port to new conventions + + public NavigationBarGalleryTests () + { + ShouldResetPerFixture = false; + } + + protected override void NavigateToGallery () + { + //App.NavigateToGallery (GalleryQueries.NavigationBarGalleryLegacy); + } + + //[Test] + //[Category ("ManualReview")] + //[Description ("Change NavigationPage Bar colors")] + public void NavigationBarGalleryTestsChangeColors () + { + // App.Screenshot ("Background should be green, Text and back button / arrow should be yellow"); + + // App.Tap (q => q.Button ("Change BarTextColor")); + // App.Screenshot ("Text / back button / arrow should change to teal"); + // App.Tap (q => q.Button ("Change BarTextColor")); + // App.Screenshot ("Text / back button / arrow should change to Color.Default"); + // App.Tap (q => q.Button ("Change BarTextColor")); + // App.Screenshot ("Text / back button / arrow should change to teal"); + + // App.Tap (q => q.Button ("Change BarBackgroundColor")); + // App.Screenshot ("Background color should change to navy"); + // App.Tap (q => q.Button ("Change BarBackgroundColor")); + // App.Screenshot ("Background color should change to Color.Default"); + // App.Tap (q => q.Button ("Change BarBackgroundColor")); + // App.Screenshot ("Background color should change to navy"); + + // App.Tap (q => q.Button ("Change Both to default")); + // App.Screenshot ("Background color / text / back button / arrow should change to Color.Default"); + + // App.Tap (q => q.Button ("Make sure Tint still works")); + // App.Screenshot ("Background arrow should change to red"); + + // App.Tap (q => q.Button ("Black background, white text")); + // App.Screenshot ("Status bar should be white on iOS"); + } + } +} |