Skip to content

Commit eabd0f3

Browse files
ilonatommyCopilot
andauthored
Update src/Components/test/E2ETest/ServerRenderingTests/EnhancedNavigationTest.cs
Co-authored-by: Copilot <[email protected]>
1 parent 3f032d2 commit eabd0f3

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
@@ -755,7 +755,7 @@ public void EnhancedNavigationScrollBehavesSameAsBrowserOnBackwardsForwardsActio
755755
AssertEnhancedNavigation(useEnhancedNavigation, elementForStalenessCheckOnHashPage);
756756
var elementForStalenessCheckOnScrollPage = Browser.Exists(By.TagName("html"));
757757
var hashPagePos1 = (long)jsExecutor.ExecuteScript($"return Math.round(document.getElementById('{buttonId}').getBoundingClientRect().top + window.scrollY);") - 100;
758-
// make sure we are expecting different scroll positions on thr 1st and the 2nd page
758+
// make sure we are expecting different scroll positions on the 1st and the 2nd page
759759
Assert.NotEqual(scrollPagePos1, hashPagePos1);
760760
Browser.SetScrollY(hashPagePos1);
761761
Browser.Exists(By.Id(buttonId)).Click();

0 commit comments

Comments
 (0)