summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-NavigationBarUITests.cs
blob: 5af7751d1de9fef4a2c6e29cc1f3566506c0b8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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");
		}
	}
}