diff --git a/browser_tests/tests/agent/agentPanel.spec.ts b/browser_tests/tests/agent/agentPanel.spec.ts index e955458d66..403dd311ee 100644 --- a/browser_tests/tests/agent/agentPanel.spec.ts +++ b/browser_tests/tests/agent/agentPanel.spec.ts @@ -4,7 +4,7 @@ import { expect, mergeTests } from '@playwright/test' import { comfyPageFixture } from '@e2e/fixtures/ComfyPage' import { webSocketFixture } from '@e2e/fixtures/ws' -import enMessages from '@/locales/en/main.json' +import enMessages from '@/locales/en/main.json' with { type: 'json' } import type { AgentWsEvent } from '@/workbench/extensions/agent/schemas/agentApiSchema' import { diff --git a/src/components/topbar/WorkflowTabs.test.ts b/src/components/topbar/WorkflowTabs.test.ts index 85f2c03141..a92ed1cd4c 100644 --- a/src/components/topbar/WorkflowTabs.test.ts +++ b/src/components/topbar/WorkflowTabs.test.ts @@ -79,6 +79,11 @@ vi.mock('@/stores/workspaceStore', () => ({ useWorkspaceStore: () => ({ shiftDown: false }) })) +vi.mock('@/workbench/extensions/agent/stores/agent/agentPanelStore', () => ({ + useAgentPanelStore: () => + reactive({ isOpen: false, enabled: false, toggle: vi.fn() }) +})) + vi.mock('@/utils/mouseDownUtil', () => ({ whileMouseDown: vi.fn() }))