Skip to content

Commit 55462f9

Browse files
authored
[UITest] Re-enable iOS Scrolling tests (#20618)
* apply the UINavigationController changes * increase delay for moving to editor with keyboard open
1 parent fdebf71 commit 55462f9

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/Controls/tests/UITests/Tests/KeyboardScrollingNonScrollingPageLargeTitlesTests.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@ protected override void FixtureTeardown()
2424
this.Back();
2525
}
2626

27-
//[Test]
28-
//public void EntriesScrollingPageTest()
29-
//{
30-
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
31-
// KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
32-
//}
27+
[Test]
28+
public void EntriesScrollingPageTest()
29+
{
30+
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
31+
KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
32+
}
3333

34-
//[Test]
35-
//public void EditorsScrollingPageTest()
36-
//{
37-
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
38-
// KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
39-
//}
34+
[Test]
35+
public void EditorsScrollingPageTest()
36+
{
37+
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
38+
KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
39+
}
4040

41-
//[Test]
42-
//public void EntryNextEditorTest()
43-
//{
44-
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
45-
// KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
46-
//}
41+
[Test]
42+
public void EntryNextEditorTest()
43+
{
44+
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
45+
KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
46+
}
4747
}
4848
}

src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ internal static async Task AdjustPositionDebounce()
282282
// while we have the keyboard up, we need a delay to recalculate
283283
// the height of the InputAccessoryView
284284
if (IsKeyboardShowing && View?.InputAccessoryView is not null)
285-
await Task.Delay(20);
285+
await Task.Delay(30);
286286

287287
if (entranceCount == DebounceCount)
288288
{

0 commit comments

Comments
 (0)