diff --git a/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts b/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts index 2f45ad6f345..9ed7e4d56e1 100644 --- a/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts +++ b/tests/e2e/cross-version-wire/cross-version-registered-agents.unit.test.ts @@ -91,10 +91,8 @@ beforeAll(async () => { 'src/main/runtime/rpc/methods/session-tab-agent-status-projection.ts' ), importReleaseCheckoutModule(checkout, 'src/shared/workspace-session-schema.ts'), - importReleaseCheckoutModule( - checkout, - 'src/renderer/src/components/native-chat/structured-agent-session-tabs.ts' - ), + // Why: releases from v1.4.228 define it here; the renderer module only imports it. + importReleaseCheckoutModule(checkout, 'src/shared/structured-agent-session-tab.ts'), importReleaseCheckoutModule(checkout, 'src/shared/agent-session-record.ts') ]) current = await loadAgentSessionWireBuild(WORKING_TREE)