missing commits
This commit is contained in:
@@ -56,12 +56,10 @@ def test_mma_step_mode_approval_flow(live_gui) -> None:
|
||||
tickets = status.get('active_tickets', [])
|
||||
tid = tickets[0]['id']
|
||||
|
||||
# 4. Attempt to approve (THIS SHOULD FAIL OR DO NOTHING CURRENTLY)
|
||||
# 4. Attempt to approve
|
||||
print(f"[SIM] Attempting to approve ticket {tid}...")
|
||||
# We'll try to use mutate_mma_dag to set status to in_progress
|
||||
# (Note: this uses the bugged '_mutate_dag' endpoint internally if not fixed)
|
||||
res = client.mutate_mma_dag({"ticket_id": tid, "status": "in_progress"})
|
||||
print(f"[SIM] Mutate result: {res}")
|
||||
res = client.approve_mma_ticket(tid)
|
||||
print(f"[SIM] Approve result: {res}")
|
||||
|
||||
# 5. Verify it moved to in_progress
|
||||
ok, status = _poll_mma_status(client, timeout=10, label="verify-in-progress",
|
||||
|
||||
Reference in New Issue
Block a user