Skip to content

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

fix-tests-radio

Magnus Müllerdcb6c8d6ba51
diff --git a/tests/ci/test_radio_buttons.py b/tests/ci/test_radio_buttons.py
index b1ea15d92..68f808dcb 100644
--- a/tests/ci/test_radio_buttons.py
+++ b/tests/ci/test_radio_buttons.py
@@ -10,8 +10,11 @@ The serialization shows radio buttons as:
Usage:
uv run pytest tests/ci/test_radio_buttons.py -v -s
+
+Note: This test requires a real LLM API key and is skipped in CI environments.
"""
+import os
from pathlib import Path
import pytest
@@ -64,6 +67,10 @@ async def browser_session():
await browser_session.kill()
+ os.getenv('CI') == 'true' or os.getenv('GITHUB_ACTIONS') == 'true',
+ reason='Skipped in CI: requires real LLM API key which blocks other tests',
+)
class TestRadioButtons:
"""Test cases for radio button interactions."""