Skip to content

Commit 1bc5efb

Browse files
authored
Update EnhancedNavigationTest.cs
1 parent 0ea4a34 commit 1bc5efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/test/E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ public void EnhancedNavigationScrollBehavesSameAsBrowserOnNavigation(bool enable
717717
AssertWeAreOnNextPage();
718718
WaitStreamingRendersFullPage(enableStreaming);
719719
AssertEnhancedNavigation(useEnhancedNavigation, elementForStalenessCheckOnNextPage);
720-
var expectedFragmentScrollPosition = fragmentScrollPosition - 1;
720+
var expectedFragmentScrollPosition = fragmentScrollPosition;
721721
Assert.Equal(expectedFragmentScrollPosition, Browser.GetScrollY());
722722
}
723723

0 commit comments

Comments
 (0)