Skip to content

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

Linter

Magnus Müller95716350ef43
diff --git a/tests/ci/interaction/test_dropdown_react_submit.py b/tests/ci/interaction/test_dropdown_react_submit.py
index b811aabc2..808c0d446 100644
--- a/tests/ci/interaction/test_dropdown_react_submit.py
+++ b/tests/ci/interaction/test_dropdown_react_submit.py
@@ -6,7 +6,6 @@ controlled components and state management.
"""
-
class TestReactDropdownSubmit:
"""Test React dropdown with controlled components and form submission."""
@@ -216,9 +215,7 @@ class TestReactDropdownSubmit:
submitted = received_data[0]
# THIS IS THE KEY TEST: React state should have captured both selections
- assert (
- submitted['employmentStatus'] == 'partTime'
- ), f"Expected 'partTime', got {submitted['employmentStatus']}"
+ assert submitted['employmentStatus'] == 'partTime', f"Expected 'partTime', got {submitted['employmentStatus']}"
assert submitted['hireType'] == 'w-2', f"Expected 'w-2', got {submitted['hireType']}"
# Also verify the result is displayed on the page using CDP
diff --git a/tests/ci/interaction/test_dropdown_vue_submit.py b/tests/ci/interaction/test_dropdown_vue_submit.py
index 9cf9577d7..3b90a5389 100644
--- a/tests/ci/interaction/test_dropdown_vue_submit.py
+++ b/tests/ci/interaction/test_dropdown_vue_submit.py
@@ -6,7 +6,6 @@ and are correctly submitted with the form. This was the bug reported in issue #3
"""
-
class TestVueDropdownSubmit:
"""Test Vue.js dropdown with v-model and form submission."""