From 53f837b704bddea4420868f999e19f3604196cd8 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Mon, 9 Nov 2026 20:52:35 +0800 Subject: [PATCH] test(e2e): reach the end of the diff with Meta+End Meta+ArrowDown now jumps to source in the diff viewer, so the scattered edits test never left the first difference. --- e2e/diff.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/diff.spec.ts b/e2e/diff.spec.ts index daea8f688..0b65b4e95 100644 --- a/e2e/diff.spec.ts +++ b/e2e/diff.spec.ts @@ -300,7 +300,7 @@ test.describe("10,000-line files", () => { await expect.poll(async () => (await rendered(page)).b.words).toContainEqual(["computeFast", "modified"]); } // The last difference is reachable and still highlighted. - await page.keyboard.press("Meta+ArrowDown"); + await page.keyboard.press("Meta+End"); await page.keyboard.press("Shift+F7"); await expect(counter(page)).toHaveText("42 of 42 differences"); if (opts.mode === "unified") {