From 78dfab681ed70c72279a5f8cf5f77cedbb993ab3 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:34:44 +0800 Subject: [PATCH] test(search): expect the shared stub's match count --- e2e/searchPopupsNarrow.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/searchPopupsNarrow.spec.ts b/e2e/searchPopupsNarrow.spec.ts index 6be23da9f4..e869ecbad2 100644 --- a/e2e/searchPopupsNarrow.spec.ts +++ b/e2e/searchPopupsNarrow.spec.ts @@ -126,7 +126,7 @@ test.describe("search popups at the minimum window width", () => { const dialog = page.getByRole("dialog", { name: "Replace in Files" }); const search = dialog.getByRole("textbox", { name: "Text to find" }); await search.fill("http://localhost:8080"); - await expect(dialog.locator("header [aria-live]")).toContainText("12 matches in 12 files"); + await expect(dialog.locator("header [aria-live]")).toContainText("13 matches in 12 files"); await search.press("Shift+ArrowDown"); await search.press("Shift+ArrowDown");