mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
d37e95918c
Three critical fixes for CI test failures: 1. Remove duplicate Logger mock - Deleted tests/cli/__mocks__/Logger.ts - Prevents 'duplicate manual mock found' error - Keep comprehensive mock in src/utils/__mocks__/ 2. Fix hardcoded DevPod path in jest.global-setup.ts - Changed from /workspaces/agentic-qe-cf to dynamic process.cwd() - Prevents ENOENT errors in GitHub Actions - Works in both DevPod and CI environments 3. Add workflow permissions for MCP Test Summary - Added pull-requests: write permission - Added checks: write permission - Fixes 403 'Resource not accessible by integration' error These fixes ensure MCP tests run properly in CI/CD pipeline. Addresses errors: - jest-haste-map: duplicate manual mock found: Logger - ENOENT: no such file or directory, chdir -> '/workspaces/agentic-qe-cf' - HttpError: Resource not accessible by integration (403)