summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40911.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40911.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40911.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40911.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40911.cs
new file mode 100644
index 00000000..09035e80
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40911.cs
@@ -0,0 +1,41 @@
+´╗┐using Xamarin.Forms.CustomAttributes;
+using Xamarin.Forms.Internals;
+
+#if UITEST
+using Xamarin.UITest;
+using NUnit.Framework;
+#endif
+namespace Xamarin.Forms.Controls
+{
+ [Preserve (AllMembers = true)]
+ [Issue (IssueTracker.Bugzilla, 40911, "NRE with Facebook Login", PlatformAffected.iOS)]
+ public class Bugzilla40911 : TestContentPage
+ {
+ public StackLayout Layout { get; private set; }
+
+ public const string ReadyToSetUp40911Test = "ReadyToSetUp40911Test";
+
+ protected override void Init ()
+ {
+ Layout = new StackLayout();
+
+ Layout.Children.Add(new Label{Text = "This is an iOS-specific issue. If you're on another platform, you can ignore this." });
+
+ Content = Layout;
+
+ MessagingCenter.Send(this, ReadyToSetUp40911Test);
+ }
+
+#if UITEST && __IOS__
+ [Test]
+ public void CanFinishLoginWithoutNRE ()
+ {
+ RunningApp.WaitForElement("Start");
+ RunningApp.Tap("Start");
+ RunningApp.WaitForElement("Login");
+ RunningApp.Tap("Login");
+ RunningApp.WaitForElement("40911 Success");
+ }
+#endif
+ }
+} \ No newline at end of file