Created UITest for issue B43527 (#5898)
authorpuppetSpace <mobscene_dude@hotmail.com>
Wed, 15 May 2019 21:54:13 +0000 (23:54 +0200)
committerE.Z. Hart <hartez@users.noreply.github.com>
Wed, 15 May 2019 21:54:13 +0000 (14:54 -0700)
* Add UITest to issue B43527

* Cleanup of Bugzilla43527

* change unit test to use WaitForNoElement

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla43527.cs

index 4f894f9..b98a800 100644 (file)
@@ -39,5 +39,16 @@ namespace Xamarin.Forms.Controls.Issues
                                };
                        }
                }
+
+#if UITEST
+               [Test]
+               public void TestB43527UpdateTitle()
+               {
+                               RunningApp.WaitForElement(q => q.Marked("Change Title"));
+                               RunningApp.WaitForElement(q => q.Marked("Test Page"));
+                               RunningApp.Tap(q => q.Marked("Change Title"));
+                               RunningApp.WaitForNoElement(q => q.Marked("Test Page"));
+               }
+#endif
        }
 }
\ No newline at end of file