diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue10947.xaml b/src/Controls/tests/TestCases.HostApp/Issues/Issue10947.xaml index 54721464bfec..d265365bedb6 100644 --- a/src/Controls/tests/TestCases.HostApp/Issues/Issue10947.xaml +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue10947.xaml @@ -16,20 +16,28 @@ Sixth Item - - + + + + + + + Background="LightGray" + Placeholder="Header Entry"/> + Background="LightGray" + Placeholder="Footer Entry"/> diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10947.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10947.cs index 5bcc2d1082f8..a95dc5e24e04 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10947.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10947.cs @@ -22,18 +22,16 @@ public void CollectionViewHeaderShouldNotScroll() var headerEntry = App.WaitForElement(HeaderEntry); var headerLocation = headerEntry.GetRect(); var footerEntry = App.WaitForElement(FooterEntry); - var footerLocation = headerEntry.GetRect(); + var footerLocation = footerEntry.GetRect(); App.Tap(HeaderEntry); - var newHeaderEntry = App.WaitForElement(HeaderEntry); var newHeaderLocation = headerEntry.GetRect(); ClassicAssert.AreEqual(headerLocation, newHeaderLocation); App.Tap(FooterEntry); - var newFooterEntry = App.WaitForElement(FooterEntry); - var newFooterLocation = headerEntry.GetRect(); + var newFooterLocation = footerEntry.GetRect(); ClassicAssert.AreEqual(footerLocation, newFooterLocation); }