From 8b31b24200d5ff691d4cc040f6db33e89198465d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 4 Aug 2026 11:38:57 +0000 Subject: [PATCH] fix(ci): raise the e2e jest timeout for cold CI runners The advisory E2E jest job has timed out twice on feedback-flow's first test (default 5s) under cold CI load while the same suite passes locally and on re-run (#542). Give each e2e test 20s so cold-start renders stop flaking the job. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 293e727c..947738e1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "test:ci": "jest --ci --forceExit", "test:unit": "jest --ci --testPathPattern='__tests__/unit'", "test:integration": "jest --ci --testPathPattern='__tests__/integration'", - "test:e2e": "jest --ci --testPathPattern='__tests__/e2e'", + "test:e2e": "jest --ci --testTimeout=20000 --testPathPattern='__tests__/e2e'", "test:i18n": "jest --ci --testPathPattern='__tests__/i18n'", "test:e2e:mock": "node e2e/check-sim.js && node e2e/ensure-release-build.js && (MOCK_PORTS=7071,7072 node e2e/mock-server.js & MOCK_PID=$!; sleep 1; maestro test --debug-output e2e/_artifacts/debug e2e/launch.yaml e2e/browse.yaml e2e/session_lifecycle.yaml e2e/server_drag_reorder.yaml e2e/bug6_bottom_bar_inset.yaml e2e/pty_turn_divider.yaml e2e/feat1_tree_drill_new_session.yaml e2e/feat2_export_in_info_shelf.yaml e2e/codex_parity.yaml e2e/voice_dictation.yaml e2e/settings_qr_scanner.yaml e2e/feedback_flow.yaml e2e/05_chat_flow.yaml e2e/06_search_anchor.yaml e2e/07_conversation_scroll_gaps.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)", "test:e2e:parallel-fetch": "node e2e/check-sim.js && (MOCK_PORT=7073 MOCK_TOTAL_CONVERSATIONS=30 MOCK_TOTAL_SESSIONS=25 MOCK_PAGE_DELAY_MS=3000 node e2e/pagination-mock-server.js & MOCK_PID=$!; sleep 1; maestro test --debug-output e2e/_artifacts/debug e2e/parallel-fetch-progress.yaml; STATUS=$?; kill $MOCK_PID 2>/dev/null || true; exit $STATUS)",