Nick Sweeting
ce264fb9f9
fix tests
2025-06-21 03:14:46 -07:00
Nick Sweeting
49e9fd4ff2
move env var config to utils file
2025-06-21 03:14:46 -07:00
mertunsall
0c656cb631
fix more
2025-06-20 19:33:14 +02:00
mertunsall
8bc6c3d2b7
hotfix
2025-06-20 19:32:51 +02:00
mertunsall
2ec840ed4a
fix tests for new output
2025-06-20 19:13:58 +02:00
mertunsall
26fdce7357
fix test case with new output structure
2025-06-20 19:02:07 +02:00
Magnus Müller
4a8cf30dac
Merge branch 'main' into mert/new_everything
2025-06-20 12:27:19 +02:00
Nick Sweeting
2baf4e7907
Merge branch 'main' into eventbus
2025-06-20 02:26:44 -07:00
Nick Sweeting
933bddc02f
improve error logging and bump bubus version
2025-06-20 02:24:01 -07:00
Nick Sweeting
7766b8d630
cleanup event wrapping and unwrapping
2025-06-20 02:06:23 -07:00
mertunsall
4e55d7c886
Update test case for max string length validation to use MAX_TASK_LENGTH constant, improving maintainability and clarity in error messages.
2025-06-20 01:21:49 +02:00
mertunsall
7cdcbc1385
Remove the test_extract_content_action method from TestControllerIntegration, streamlining the test suite by eliminating outdated or redundant tests.
2025-06-20 01:06:28 +02:00
Magnus Müller
2ee381d283
Refactor message_manager tests to use a temporary file system path, enhancing isolation and reliability of test cases.
2025-06-20 00:18:48 +02:00
Magnus Müller
831682e2a3
Add FileSystem dependency to message_manager tests
2025-06-20 00:13:06 +02:00
Magnus Müller
21609387d5
Update test case to include file_system
2025-06-20 00:07:59 +02:00
Nick Sweeting
3e5f3049c5
add retry for actions that fail due to page navigation mid-action ( #2011 )
2025-06-19 07:41:41 -07:00
Nick Sweeting
36c88b760c
Consolidate sync related code ( #2009 )
2025-06-19 07:41:28 -07:00
Nick Sweeting
11c7ec7b16
disable live test on ci
2025-06-19 07:31:41 -07:00
Nick Sweeting
f463a9383c
init and config fixes
2025-06-19 07:20:43 -07:00
Nick Sweeting
c36ca35984
improve logging of errors
2025-06-19 06:40:14 -07:00
Nick Sweeting
60f2abd206
add retry for actions that fail due to page navigation mid-action
2025-06-19 04:15:04 -07:00
claude[bot]
a3b3281564
fix: resolve test configuration and security issues
...
- Fix security issue: replace deprecated tempfile.mktemp() with secure NamedTemporaryFile
- Fix test configuration: remove incorrect browser_use.sync.auth.BROWSER_USE_CONFIG_DIR access
- Fix excessive test timeouts: replace 60000 second sleeps with comments
Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com >
2025-06-19 10:18:59 +00:00
Nick Sweeting
f11793915d
fix import
2025-06-19 02:47:53 -07:00
Nick Sweeting
912ed24b3f
use anyio for test file writes
2025-06-19 02:40:04 -07:00
Yasith Jayawardana
e2e11966d3
Merge branch 'main' into typing-improvements
2025-06-18 21:20:47 -04:00
Nick Sweeting
21c3f605a1
move bubus tests out
2025-06-18 10:28:23 -07:00
Nick Sweeting
474476f0ae
switch to external bubus lib
2025-06-18 01:41:16 -07:00
Nick Sweeting
f35ea5be4d
fixes
2025-06-17 22:38:59 -07:00
Nick Sweeting
d0ec528802
fixed events
2025-06-17 22:38:59 -07:00
Nick Sweeting
aa5e83b44e
fix eventbus tests
2025-06-17 14:12:10 -07:00
Nick Sweeting
0b7ada4731
wip
2025-06-17 03:08:03 -07:00
Nick Sweeting
0dd6bc2b50
wip eventbus with EventResults aggregate for all results
2025-06-16 21:06:25 -07:00
yasithdev
8ea4b4c71a
centralize playwright/patchwright imports, and update typing/checks to reduce lint errors
2025-06-16 22:57:20 -04:00
Nick Sweeting
552f4d46ed
Merge branch 'main' into eventbus
2025-06-16 17:22:17 -07:00
Nick Sweeting
e3d21d33a1
fix evaluate_tasks.py errors in CI
2025-06-16 17:20:27 -07:00
Nick Sweeting
04b25553a4
fix issue with actions registered with no parameters
2025-06-16 16:49:47 -07:00
Nick Sweeting
f85cdd98bc
fix browsersession init in tests
2025-06-16 16:38:44 -07:00
Nick Sweeting
1d31cac481
fix tests
2025-06-16 16:36:06 -07:00
Nick Sweeting
ffea60ad79
lint fixes
2025-06-16 15:48:13 -07:00
Nick Sweeting
b141958455
Merge branch 'main' into hot-fix/file-upload
2025-06-16 11:25:17 -07:00
claude[bot]
c16bfa4f65
Add comprehensive tests for find_file_upload_element_by_index method
...
This commit adds extensive test coverage for the file upload element finding
functionality in BrowserSession. Tests cover all codepaths including:
- Success cases: finding inputs on current node, descendants, siblings, ancestors
- Parameter variations: max_height and max_descendant_depth limits
- Edge cases: missing indices, no inputs found, exception handling
- DOM structures: complex nesting, case sensitivity, attribute validation
The 17 test methods ensure robust validation of the enhanced DOM traversal
logic introduced in the file upload improvements.
Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com >
2025-06-16 17:48:26 +00:00
Nick Sweeting
66fbb8b282
Merge branch 'main' into eventbus
2025-06-14 01:19:15 -07:00
Nick Sweeting
4fbb199089
fix storage_state setup
2025-06-14 00:11:25 -07:00
Nick Sweeting
7628274790
fix start_browser_session test
2025-06-13 18:04:59 -07:00
Nick Sweeting
749a46854c
fix registry test
2025-06-13 18:02:20 -07:00
Nick Sweeting
a404158253
centralize LLM mocking for tests into mocks.py
2025-06-13 17:06:31 -07:00
Nick Sweeting
7f49b4aa1d
centralize LLM mocking for tests into mocks.py
2025-06-13 17:05:48 -07:00
Nick Sweeting
06488e11ba
fix clickaction error handling test
2025-06-11 00:05:58 -07:00
Nick Sweeting
d5d341f229
dont raise exception from click action
2025-06-10 23:57:41 -07:00
Nick Sweeting
656a129fba
include original LLM status_code in raised exception
2025-06-10 05:33:08 -07:00