From 7edb81a6cc47087c63c93b76bd86dfcaef8d4e56 Mon Sep 17 00:00:00 2001 From: ciregenz Date: Wed, 15 Jul 2026 19:09:18 -0700 Subject: [PATCH] [eric] test: warm-send summary assert case-insensitive for the friendly confirmation --- backend/tests/test_browser_agent_loop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/test_browser_agent_loop.py b/backend/tests/test_browser_agent_loop.py index 3f700fdb..dd41c49a 100644 --- a/backend/tests/test_browser_agent_loop.py +++ b/backend/tests/test_browser_agent_loop.py @@ -1677,6 +1677,6 @@ def test_warm_send_prefix_replay_marries_send_script_zero_llm_turns(monkeypatch) assert any(c["action"] == "navigate" for c in sent) assert any(c["action"] == "click_index" and c["params"].get("text") for c in sent), "script fill ran" assert result.get("done") is True - assert "Sent" in str(result.get("summary", "")) + assert "sent" in str(result.get("summary", "")).lower() # the whole warm write took ZERO model turns assert primary.calls == [], f"model was called {len(primary.calls)}x; warm write should be replay+code only"