diff --git a/backend/tests/app/controller/test_chat_controller.py b/backend/tests/app/controller/test_chat_controller.py index 916c4e39..137a7d00 100644 --- a/backend/tests/app/controller/test_chat_controller.py +++ b/backend/tests/app/controller/test_chat_controller.py @@ -59,6 +59,10 @@ class TestChatController: ) as mock_step_solve, patch("app.controller.chat_controller.load_dotenv"), patch("app.controller.chat_controller.set_current_task_id"), + patch( + "app.controller.chat_controller._prepare_browser_for_request_with_timeout", + new=AsyncMock(return_value=True), + ), patch("pathlib.Path.mkdir"), patch("pathlib.Path.home", return_value=MagicMock()), ):