From 9adf460c1f6353849f2ad01ac4e702b4243808d8 Mon Sep 17 00:00:00 2001 From: LegGasai Date: Wed, 11 Nov 2026 16:56:47 +0800 Subject: [PATCH] test(forge): open the Session panel in the extension scenario The change requests list moved from the forge tab to the Session panel, so the scenario shows the panel before pressing the plugin's card button. --- apps/web/tests/forge-panel.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/tests/forge-panel.e2e.ts b/apps/web/tests/forge-panel.e2e.ts index ba9858c45e..b44bc05a37 100644 --- a/apps/web/tests/forge-panel.e2e.ts +++ b/apps/web/tests/forge-panel.e2e.ts @@ -1929,7 +1929,7 @@ it.skipIf(MODE === 'record')('lets a plugin filter the changes by its lens, anno const session = scaffold.ctx.sessions.get(await settled) if (session === undefined) throw new Error('Session must stay loaded') scaffold.ctx.forgeSession.track(session, PULL) - await page.locator('[data-forge-header]').click() + await showSessionPanel(page) // The card button the plugin adds opens the changes view with its lens chosen. await page.locator(`[data-forge-change="${PULL}"]`).getByRole('button', { name: '打开导出视图', exact: true }).click()