Skip to content

Commit

Permalink
[UITest] Re-enable iOS Scrolling tests (#20618)
Browse files Browse the repository at this point in the history
* apply the UINavigationController changes

* increase delay for moving to editor with keyboard open
  • Loading branch information
tj-devel709 authored Feb 27, 2024
1 parent fdebf71 commit 55462f9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ protected override void FixtureTeardown()
this.Back();
}

//[Test]
//public void EntriesScrollingPageTest()
//{
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
//}
[Test]
public void EntriesScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
}

//[Test]
//public void EditorsScrollingPageTest()
//{
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
//}
[Test]
public void EditorsScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
}

//[Test]
//public void EntryNextEditorTest()
//{
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
//}
[Test]
public void EntryNextEditorTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
}
}
}
2 changes: 1 addition & 1 deletion src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ internal static async Task AdjustPositionDebounce()
// while we have the keyboard up, we need a delay to recalculate
// the height of the InputAccessoryView
if (IsKeyboardShowing && View?.InputAccessoryView is not null)
await Task.Delay(20);
await Task.Delay(30);

if (entranceCount == DebounceCount)
{
Expand Down

0 comments on commit 55462f9

Please sign in to comment.