summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs64
1 files changed, 64 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs
new file mode 100644
index 00000000..c346b4fc
--- /dev/null
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/AppearingUITests.cs
@@ -0,0 +1,64 @@
+´╗┐using System;
+using NUnit.Framework;
+
+namespace Xamarin.Forms.Core.UITests
+{
+ [Category ("Lifecycle")]
+ internal class AppearingUITests : BaseTestFixture
+ {
+
+ public AppearingUITests ()
+ {
+ ShouldResetPerFixture = false;
+ }
+
+ protected override void NavigateToGallery ()
+ {
+ App.NavigateToGallery (GalleryQueries.AppearingGallery);
+ }
+
+ [Test]
+ public void AppearingNavigationPage ()
+ {
+ App.Tap (t => t.Marked ("NavAppearingPage"));
+ App.WaitForElement ("Appearing NavAppearingPage");
+ App.WaitForElement ("Appearing Page 1");
+ App.Tap (t => t.Marked ("Push new Page"));
+ App.WaitForElement ("Disappearing Page 1");
+ App.WaitForElement ("Appearing Page 2");
+ App.Tap (t => t.Marked ("Change Main Page"));
+ App.WaitForElement ("Disappearing Page 2");
+ App.WaitForElement ("Disappearing NavAppearingPage");
+ App.WaitForElement ("Appearing Page 3");
+ }
+
+
+ [Test]
+ public void AppearingCarouselPage ()
+ {
+ App.Tap (t => t.Marked ("CarouselAppearingPage"));
+ App.WaitForElement ("Appearing CarouselAppearingPage");
+ App.WaitForElement ("Appearing Page 1");
+
+ }
+
+ [Test]
+ public void AppearingTabbedPage ()
+ {
+ App.Tap (t => t.Marked ("TabbedAppearingPage"));
+ App.WaitForElement ("Appearing TabbedAppearingPage");
+ App.WaitForElement ("Appearing Page 1");
+
+ }
+
+ [Test]
+ public void AppearingMasterDetailPage ()
+ {
+ App.Tap (t => t.Marked ("MasterAppearingPage"));
+ App.WaitForElement ("Appearing MasterAppearingPage");
+ App.WaitForElement ("Appearing Page 1");
+
+ }
+ }
+}
+