Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public Bugzilla31333(TestDevice testDevice) : base(testDevice)
[Test]
public void Issue31333FocusEntryInListViewCell()
{
App.WaitForElement("Focus Entry in ListView");
App.Tap("Focus Entry in ListView");
App.EnterText("EntryListView", "Entry in ListView Success");
Assert.That(App.WaitForElement("EntryListView")?.GetText(), Is.EqualTo("Entry in ListView Success"));
Expand All @@ -25,6 +26,7 @@ public void Issue31333FocusEntryInListViewCell()
[Test]
public void Issue31333FocusEditorInListViewCell()
{
App.WaitForElement("Focus Editor in ListView");
App.Tap("Focus Editor in ListView");
App.EnterText("EditorListView", "Editor in ListView Success");
Assert.That(App.WaitForElement("EditorListView")?.GetText(), Is.EqualTo("Editor in ListView Success"));
Expand All @@ -34,15 +36,17 @@ public void Issue31333FocusEditorInListViewCell()
[Test]
public void Issue31333FocusEntryInTableViewCell()
{
App.WaitForElement("Focus Entry in Table");
App.Tap("Focus Entry in Table");
App.EnterText("EntryTable", "Entry in TableView Success");
Assert.That(App.WaitForElement("EntryTable")?.GetText(), Is.EqualTo("Entry in TableView Success"));
App.Tap("Focus Entry in Table");
}
#if !IOS //Once Editor text is entered the cursor move to second line when using App.EnterText method in appium which results retrived text is not as expected one.
#if TEST_FAILS_ON_IOS //Once Editor text is entered the cursor move to second line when using App.EnterText method in appium which results retrived text is not as expected one.
[Test]
public void Issue31333FocusEditorInTableViewCell()
{
App.WaitForElement("Focus Editor in Table");
App.Tap("Focus Editor in Table");
App.EnterText("EditorTable", "Editor in TableView Success");
Assert.That(App.WaitForElement("EditorTable")?.GetText(), Is.EqualTo("Editor in TableView Success"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public Bugzilla34632(TestDevice testDevice) : base(testDevice)
[Category(UITestCategories.FlyoutPage)]
public void Bugzilla34632Test()
{
App.WaitForElement("btnModal");
App.SetOrientationPortrait();
App.WaitForElement("btnModal");
App.Tap("btnModal");
Expand All @@ -27,6 +28,7 @@ public void Bugzilla34632Test()
App.WaitForElement("btnModal");
App.Tap("btnModal");
App.SetOrientationPortrait();
App.WaitForElement("btnDismissModal");
App.Tap("btnDismissModal");
App.TapFlyoutPageIcon("Main Page");
App.WaitForElement("btnFlyout");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public Issue2597(TestDevice testDevice) : base(testDevice)
[Category(UITestCategories.Stepper)]
public void Issue2597Test()
{
App.WaitForElement("Stepper");

App.IncreaseStepper("Stepper");

Assert.That(App.FindElement("StepperValue").GetText(), Is.EqualTo("Stepper value is 0"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ public Issue2809(TestDevice testDevice) : base(testDevice)
[Category(UITestCategories.ToolbarItem)]
public void TestPageDoesntCrash()
{
#if ANDROID && WINDOWS // WaitForMoreButton is only supported on Android and Windows
App.WaitForMoreButton();
#endif
App.TapMoreButton();
if (App is AppiumAndroidApp || App is AppiumWindowsApp) // WaitForMoreButton is only supported on Android and Windows
{
App.WaitForMoreButton();
App.TapMoreButton();
}
App.Tap("Item 1");
}
}
Loading