Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix `test_web_selenium` (#4554)

merwanehamadiaf28510abae3
diff --git a/tests/unit/test_web_selenium.py b/tests/integration/test_web_selenium.py
similarity index 67%
rename from tests/unit/test_web_selenium.py
rename to tests/integration/test_web_selenium.py
index 0415007dae..2a03a3c047 100644
--- a/tests/unit/test_web_selenium.py
+++ b/tests/integration/test_web_selenium.py
@@ -1,7 +1,10 @@
+from pytest_mock import MockerFixture
+
from autogpt.commands.web_selenium import browse_website
+from autogpt.config import Config
-def test_browse_website(config):
+def test_browse_website(config: Config, patched_api_requestor: MockerFixture):
url = "https://barrel-roll.com"
question = "How to execute a barrel roll"