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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public Bugzilla44338(TestDevice testDevice) : base(testDevice)
[Test]
public void Bugzilla44338Test()
{
App.WaitForElement("A");
App.ActivateContextMenu("A");
App.Tap("C");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,22 @@ void HideSoftInputOnTappedPageTestForMac(string control, bool hideOnTapped)
try
{
if (hideOnTapped)
{
App.WaitForElement("HideSoftInputOnTappedTrue");
App.Click("HideSoftInputOnTappedTrue");
}
else
{
App.WaitForElement("HideSoftInputOnTappedFalse");
App.Click("HideSoftInputOnTappedFalse");
}

App.WaitForElement(control);
App.Click(control);

ClassicAssert.IsTrue(App.IsFocused(control));

App.WaitForElement("EmptySpace");
App.Click("EmptySpace");
ClassicAssert.AreEqual(!hideOnTapped, App.IsFocused(control));
}
Expand All @@ -64,15 +71,22 @@ void HideSoftInputOnTappedPageTestForAndroidiOS(string control, bool hideOnTappe
App.DismissKeyboard();

if (hideOnTapped)
{
App.WaitForElement("HideSoftInputOnTappedTrue");
App.Tap("HideSoftInputOnTappedTrue");
}
else
{
App.WaitForElement("HideSoftInputOnTappedFalse");
App.Tap("HideSoftInputOnTappedFalse");
}

App.WaitForElement(control);
App.Tap(control);

ClassicAssert.True(App.IsKeyboardShown());

App.WaitForElement("EmptySpace");
App.Tap("EmptySpace");
ClassicAssert.AreEqual(!hideOnTapped, App.IsKeyboardShown());
}
Expand Down Expand Up @@ -103,18 +117,25 @@ public void TogglingHideSoftInputOnTappedForMac()
{
try
{
App.WaitForElement("HideSoftInputOnTappedFalse");
App.Click("HideSoftInputOnTappedFalse");

// Switch between enabling/disabling feature
for (int i = 0; i < 2; i++)
{
App.WaitForElement("HideKeyboardWhenTappingPage");
App.Click("HideKeyboardWhenTappingPage");
ClassicAssert.True(App.IsFocused("HideKeyboardWhenTappingPage"));

App.WaitForElement("EmptySpace");
App.Click("EmptySpace");
ClassicAssert.AreEqual(false, App.IsFocused("HideKeyboardWhenTappingPage"));

App.WaitForElement("DontHideKeyboardWhenTappingPage");
App.Click("DontHideKeyboardWhenTappingPage");
ClassicAssert.True(App.IsFocused("DontHideKeyboardWhenTappingPage"));

App.WaitForElement("EmptySpace");
App.Click("EmptySpace");
ClassicAssert.AreEqual(true, App.IsFocused("DontHideKeyboardWhenTappingPage"));
}
Expand All @@ -132,6 +153,7 @@ public void TogglingHideSoftInputOnTappedForAndroidiOS()
if (App.IsKeyboardShown())
App.DismissKeyboard();

App.WaitForElement("HideSoftInputOnTappedFalse");
App.Tap("HideSoftInputOnTappedFalse");

// Switch between enabling/disabling feature
Expand All @@ -140,11 +162,14 @@ public void TogglingHideSoftInputOnTappedForAndroidiOS()
App.WaitForElement("HideKeyboardWhenTappingPage");
App.Tap("HideKeyboardWhenTappingPage");
ClassicAssert.True(App.IsKeyboardShown());
App.WaitForElement("EmptySpace");
App.Tap("EmptySpace");
ClassicAssert.AreEqual(false, App.IsKeyboardShown());

App.WaitForElement("DontHideKeyboardWhenTappingPage");
App.Tap("DontHideKeyboardWhenTappingPage");
ClassicAssert.True(App.IsKeyboardShown());
App.WaitForElement("EmptySpace");
App.Tap("EmptySpace");
ClassicAssert.AreEqual(true, App.IsKeyboardShown());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ public void TestTappingHeaderDoesNotCrash()

Assert.DoesNotThrowAsync(async () =>
{
App.WaitForElement("Group2");
App.Tap("Group2");
await Task.Delay(3000);
App.WaitForElement("Group1");
App.Tap("Group1");
await Task.Delay(3000);
App.WaitForElement("Group0");
App.Tap("Group0");
await Task.Delay(3000);
App.WaitForElement("9711TestListView");
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading