Files
dify/api/tests
Charles YaoandClaude Opus 4.8 5d6e1c717b copilot: full Edit-flow acceptance + loop-idempotency tests
Add 4 end-to-end tests for the complete Edit flow: test_full_edit_flow_goal_to_publish
(capability_check → send_edit_goal → submit_edit_rules → approve_repair → run_affected_tests
→ review → publish_workflow → EDIT_PUBLISH terminal), test_full_edit_flow_keep_draft_completes_without_publish
(same but keep_draft without publishing), test_continue_adjusting_then_reapprove_is_idempotent
(loop back via re_fix), and test_revert_then_retry_after_revert_reapprove_is_idempotent
(loop via undo then re_fix). All tests drive the real Runner + edit_registry + PlaceholderAgent
+ FakeEditDifyPort with version-CAS for each advance().

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-23 02:39:06 -07:00
..