From b212a5a3f7919d6fffa9fbfbe711e8f236bdd414 Mon Sep 17 00:00:00 2001 From: Xiangzhe Date: Tue, 25 Aug 2026 20:32:59 -0300 Subject: [PATCH] test(dashboard): open the proxy toolbar overflow menu before bulk assign MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #9870 moved the proxy-registry bulk-assign action into the toolbar's "More actions" (…) overflow menu, which renders its items only while open. The e2e smoke flow still clicked the testid directly, so the locator never resolved and the test burned its full 180s budget. Open the menu first and assert it is visible before clicking; every existing assertion is unchanged. --- tests/e2e/proxy-registry.smoke.spec.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/e2e/proxy-registry.smoke.spec.ts b/tests/e2e/proxy-registry.smoke.spec.ts index 7c2b087d01..6ca20efb53 100644 --- a/tests/e2e/proxy-registry.smoke.spec.ts +++ b/tests/e2e/proxy-registry.smoke.spec.ts @@ -197,7 +197,12 @@ test.describe("Proxy Registry smoke flow", () => { await expect(page.locator("table")).toContainText("http://smoke-updated.local:8080"); - await page.getByTestId("proxy-registry-open-bulk").click(); + // Bulk assign moved into the toolbar's "More actions" (⋯) overflow menu in + // #9870 — the menu only renders its items once opened, so open it first. + await page.getByTestId("proxy-registry-more-actions").click(); + const actionsMenu = page.getByRole("menu"); + await expect(actionsMenu).toBeVisible(); + await actionsMenu.getByTestId("proxy-registry-open-bulk").click(); const bulkDialog = page.getByRole("dialog"); await expect(bulkDialog.getByText("Bulk Proxy Assignment")).toBeVisible(); await bulkDialog.getByTestId("proxy-registry-bulk-scopeids-input").fill("openai,anthropic");