From 6908593b0a14eeb341bfc1091e02e7c825157612 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:16:18 +0800 Subject: [PATCH] test(vcs): open More Filters after the Git Log toolbar overflows --- e2e/gitLogToolbarMenus.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/gitLogToolbarMenus.spec.ts b/e2e/gitLogToolbarMenus.spec.ts index 896a3bf0bd..cd099e69b6 100644 --- a/e2e/gitLogToolbarMenus.spec.ts +++ b/e2e/gitLogToolbarMenus.spec.ts @@ -206,6 +206,8 @@ test("long Git Log filter values shorten inside their buttons", async ({ workben } await page.setViewportSize({ width: 400, height: 560 }); + // The overflow is measured after the resize: open the menu once the filter has moved into it. + await expect(branch).toBeHidden(); await toolbar.getByRole("button", { name: "More Filters" }).click(); await expect(page.getByRole("menuitem", { name: `Branch: ${branchName}`, exact: true })).toBeVisible(); await page.keyboard.press("Escape");