Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Fixed test because we dont use include_in_memory anymore & success=False is not needed

Magnus Müllerdc43bc252852
diff --git a/tests/ci/test_controller.py b/tests/ci/test_controller.py
index e77a35dd0..20982229d 100644
--- a/tests/ci/test_controller.py
+++ b/tests/ci/test_controller.py
@@ -1145,8 +1145,6 @@ class TestControllerIntegration:
# Verify the result
assert isinstance(result, ActionResult)
- assert result.success is False, 'Expected success=False for network error'
assert result.error is not None, 'Expected error message to be set'
assert 'Site unavailable' in result.error, f"Expected 'Site unavailable' in error message, got: {result.error}"
assert 'nonexistentdndbeyond.com' in result.error, 'Expected URL in error message'
- assert result.include_in_memory is True, 'Network errors should be included in memory'