aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test_web_selenium.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/test_web_selenium.py')
-rw-r--r--tests/integration/test_web_selenium.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/integration/test_web_selenium.py b/tests/integration/test_web_selenium.py
deleted file mode 100644
index e900b4b3f..000000000
--- a/tests/integration/test_web_selenium.py
+++ /dev/null
@@ -1,17 +0,0 @@
-import pytest
-from pytest_mock import MockerFixture
-
-from autogpt.agent.agent import Agent
-from autogpt.commands.web_selenium import browse_website
-
-
-@pytest.mark.vcr
-@pytest.mark.requires_openai_api_key
-def test_browse_website(agent: Agent, patched_api_requestor: MockerFixture):
- url = "https://barrel-roll.com"
- question = "How to execute a barrel roll"
-
- response = browse_website(url, question, agent)
- assert "error" in response.lower()
- # Sanity check that the response is not too long
- assert len(response) < 200