Files
Profa 08568286ef refactor(tests): aggressive test suite consolidation (-60% lines, -54% files)
Major test suite migration and cleanup completing Issue #103:

## Metrics
- Files: 426 → 197 (-229 files, -53.8%)
- Lines: 208,253 → 82,698 (-125,555 lines, -60.3%)
- Large files (>600 lines): 149 → 25 (-83.2%)
- Skipped tests: 7 → 0 (-100%)

## Categories Deleted
- Phase 1/2/3 milestone tests (superseded by journey tests)
- MCP handler implementation tests (covered by contract tests)
- Comprehensive/exhaustive internal tests
- Duplicate algorithm tests (Q-learning, SARSA, Actor-Critic)
- Internal utility tests (Logger, migration tools)
- Mock-based tests with no real integration value

## High-Value Tests Preserved
- 7 journey tests (user workflows)
- CLI tests (user-facing commands)
- E2E tests (end-to-end workflows)
- Core infrastructure tests (memory, hooks, privacy)
- MCP contract tests (API stability)
- Unique integration tests (neural, multi-agent)

## New CI/CD Infrastructure
- .github/workflows/optimized-ci.yml (parallel jobs)
- scripts/test-dashboard.js (metrics visualization)
- scripts/test-ci-optimized.sh (batched execution)
- New test scripts: test:journeys, test:contracts, test:fast

## Coverage Thresholds
- Global: 80% lines, 75% branches
- Critical paths (core/, agents/): 85% coverage

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 07:22:53 +00:00

1124 lines
110 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="54" failures="47" errors="0" time="8.215">
<testsuite name="Filtered Handlers Integration" errors="0" failures="0" skipped="0" timestamp="2025-12-07T19:16:06" time="1.287" tests="7">
<testcase classname="Filtered Handlers Integration › Coverage Analyzer" name="should reduce coverage report tokens by 99%" time="0.008">
</testcase>
<testcase classname="Filtered Handlers Integration › Test Executor" name="should reduce test results tokens by 97%" time="0.003">
</testcase>
<testcase classname="Filtered Handlers Integration › Flaky Test Detector" name="should reduce flaky test analysis tokens by 98%" time="0.003">
</testcase>
<testcase classname="Filtered Handlers Integration › Performance Benchmarker" name="should reduce benchmark results tokens by 98%" time="0.003">
</testcase>
<testcase classname="Filtered Handlers Integration › Security Scanner" name="should reduce vulnerability scan tokens by 97%" time="0.002">
</testcase>
<testcase classname="Filtered Handlers Integration › Quality Assessor" name="should reduce quality assessment tokens by 97%" time="0.002">
</testcase>
<testcase classname="Filtered Handlers Integration › Combined Operations" name="should demonstrate cumulative token savings" time="0.001">
</testcase>
</testsuite>
<testsuite name="FleetCommanderAgent Integration" errors="0" failures="18" skipped="0" timestamp="2025-12-07T19:16:08" time="1.187" tests="18">
<testcase classname="FleetCommanderAgent Integration › Memory Coordination (aqe/fleet/*)" name="should store fleet topology in aqe/fleet/topology namespace" time="0.026">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Memory Coordination (aqe/fleet/*)" name="should store active agents in aqe/fleet/agents/active namespace" time="0.026">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Memory Coordination (aqe/fleet/*)" name="should store coordination results in aqe/fleet/coordination/results namespace" time="0.061">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Memory Coordination (aqe/fleet/*)" name="should store fleet performance metrics in aqe/fleet/metrics/performance namespace" time="0.024">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Hook Execution" name="should execute pre-task hook and retrieve fleet topology" time="0.024">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Hook Execution" name="should execute post-task hook and store coordination results" time="0.029">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Hook Execution" name="should execute post-edit hook when fleet config is updated" time="0.042">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Agent Spawning and Lifecycle" name="should spawn agents dynamically based on workload" time="0.025">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Agent Spawning and Lifecycle" name="should despawn idle agents to optimize resources" time="0.025">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Agent Spawning and Lifecycle" name="should monitor agent health and trigger recovery" time="0.054">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Resource Allocation" name="should allocate CPU and memory resources optimally" time="0.024">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Resource Allocation" name="should handle resource conflicts and prioritize critical agents" time="0.026">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Topology Switching" name="should switch from hierarchical to mesh topology" time="0.053">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Topology Switching" name="should use adaptive topology based on workload patterns" time="0.027">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Event Bus Communication" name="should emit fleet.agent.spawned event" time="0.028">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Event Bus Communication" name="should emit fleet.topology.changed event" time="0.048">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Event Bus Communication" name="should emit fleet.resource.conflict event" time="0.027">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="FleetCommanderAgent Integration › Event Bus Communication" name="should coordinate with other agents via events" time="0.057">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-commander-integration.test.ts:59:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
</testsuite>
<testsuite name="Fleet Coordination Integration Tests" errors="0" failures="17" skipped="0" timestamp="2025-12-07T19:16:09" time="2.825" tests="17">
<testcase classname="Fleet Coordination Integration Tests › Fleet Initialization and Agent Spawning" name="should initialize fleet and spawn initial agents successfully" time="0.095">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Fleet Initialization and Agent Spawning" name="should coordinate agent initialization through event bus" time="0.104">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Fleet Initialization and Agent Spawning" name="should handle agent spawn failures gracefully" time="0.086">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Task Distribution and Execution" name="should distribute and execute tasks across available agents" time="0.086">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Task Distribution and Execution" name="should handle task failures and maintain fleet stability" time="0.087">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Task Distribution and Execution" name="should queue tasks when all agents are busy" time="0.086">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Agent Communication and Coordination" name="should coordinate agent status updates through event bus" time="0.084">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Agent Communication and Coordination" name="should handle agent failures and recovery" time="0.083">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Agent Communication and Coordination" name="should maintain coordination during concurrent operations" time="0.084">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Fleet Lifecycle Management" name="should handle graceful shutdown of entire fleet" time="0.083">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Fleet Lifecycle Management" name="should handle partial agent removal during operation" time="0.085">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Fleet Lifecycle Management" name="should handle dynamic agent spawning during operation" time="0.086">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Error Recovery and Resilience" name="should recover from database connection issues" time="0.088">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Error Recovery and Resilience" name="should handle event bus communication failures" time="0.089">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Error Recovery and Resilience" name="should maintain fleet coherence during multiple failures" time="0.088">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Performance and Load Testing" name="should handle high task throughput efficiently" time="0.088">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Coordination Integration Tests › Performance and Load Testing" name="should maintain performance with agent scaling" time="0.087">
<failure>TypeError: Database_1.Database.mockImplementation is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-coordination.test.ts:119:29)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
</testsuite>
<testsuite name="Fleet Initialization Integration Tests" errors="0" failures="12" skipped="0" timestamp="2025-12-07T19:16:12" time="2.244" tests="12">
<testcase classname="Fleet Initialization Integration Tests › Fleet Manager Initialization" name="should initialize fleet manager with valid configuration" time="0.002">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Fleet Manager Initialization" name="should handle initialization failures gracefully" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Fleet Manager Initialization" name="should create initial agent pool based on configuration" time="0.002">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › CLI Initialization Command" name="should execute full initialization workflow" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › CLI Initialization Command" name="should validate input parameters and fail on invalid values" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › CLI Initialization Command" name="should setup Claude Flow integration when requested" time="0">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Configuration Generation" name="should generate proper agent configurations" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Configuration Generation" name="should generate environment-specific configurations" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Error Handling and Recovery" name="should handle file system errors gracefully" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Error Handling and Recovery" name="should clean up resources on initialization failure" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Coordination Setup" name="should create coordination scripts for Claude Flow integration" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
<testcase classname="Fleet Initialization Integration Tests › Coordination Setup" name="should create agent registry for tracking" time="0.001">
<failure>TypeError: mockLogger.getInstance.mockReturnValue is not a function
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:46:28)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:941:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
<failure>TypeError: The &quot;directory&quot; argument must be of type string. Received undefined
at process.wrappedChdir (node:internal/bootstrap/switches/does_own_process_state:127:3)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (node:internal/worker:114:5)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir (/workspaces/agentic-qe-cf/node_modules/graceful-fs/polyfills.js:22:11)
at process.chdir.process.chdir [as chdir] (/workspaces/agentic-qe-cf/node_modules/playwright-core/lib/utilsBundleImpl/index.js:189:4522)
at Object.&lt;anonymous&gt; (/workspaces/agentic-qe-cf/tests/integration/fleet-initialization.test.ts:60:13)
at Promise.finally.completed (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1557:28)
at new Promise (&lt;anonymous&gt;)
at callAsyncCircusFn (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1497:10)
at _callCircusHook (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:976:40)
at _runTest (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:949:5)
at /workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:849:7
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:862:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at _runTestsForDescribeBlock (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:857:11)
at run (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:761:3)
at runAndTransformResultsToJestFormat (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/jestAdapterInit.js:1918:21)
at jestAdapter (/workspaces/agentic-qe-cf/node_modules/jest-circus/build/runner.js:101:19)
at runTestInternal (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:275:16)
at runTest (/workspaces/agentic-qe-cf/node_modules/jest-runner/build/index.js:343:7)</failure>
</testcase>
</testsuite>
</testsuites>