diff --git a/tests/integration/test_web_selenium.py b/tests/integration/test_web_selenium.py index f98b2971..e900b4b3 100644 --- a/tests/integration/test_web_selenium.py +++ b/tests/integration/test_web_selenium.py @@ -12,6 +12,6 @@ def test_browse_website(agent: Agent, patched_api_requestor: MockerFixture): question = "How to execute a barrel roll" response = browse_website(url, question, agent) - assert "Error" in response + assert "error" in response.lower() # Sanity check that the response is not too long assert len(response) < 200