summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs
index 6007e725..3d198461 100644
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla28498.cs
@@ -1,5 +1,5 @@
using System;
-
+using System.Threading.Tasks;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
@@ -7,7 +7,7 @@ using Xamarin.UITest;
using NUnit.Framework;
#endif
-namespace Xamarin.Forms.Controls
+namespace Xamarin.Forms.Controls.Issues
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 28498, "App crashes when switching between NavigationPages on a MasterDetailPage when In-Call Status Bar is visible")]
@@ -59,11 +59,13 @@ namespace Xamarin.Forms.Controls
#if UITEST
[Test]
+ [Ignore("This test doesn't make a lot of sense and crashes 50% of the time; need to re-investigate it.")]
public void Bugzilla28498Test ()
{
- RunningApp.SetOrientationPortrait ();
+ RunningApp.SetOrientationPortrait();
RunningApp.Tap (q => q.Marked ("btnOpen"));
RunningApp.Tap (q => q.Marked ("btnOther"));
+
RunningApp.SetOrientationLandscape ();
RunningApp.Tap (q => q.Marked ("btnOpen"));
RunningApp.Screenshot ("Detail open");
@@ -73,6 +75,12 @@ namespace Xamarin.Forms.Controls
else
Assert.Inconclusive ("Should be button here, but rotation could take some time on XTC");
}
+
+ [TearDown]
+ public void TearDown()
+ {
+ RunningApp.SetOrientationPortrait ();
+ }
#endif
}
}