Commit Graph

603 Commits

Author SHA1 Message Date
Magnus Müller 6def4c24f1 Update test_agent_real_tasks to use temporary user data directory and disable headless mode 2025-06-07 09:25:36 +02:00
Magnus Müller 074169f80f Merge branch 'main' into tests/eval 2025-06-07 09:15:41 +02:00
Nick Sweeting 11b980b3ae fixture scoping 2025-06-06 19:26:29 -07:00
Nick Sweeting f94d56910f consistent test fixture scope, fix race condition on shutdown, improve logging 2025-06-06 19:21:51 -07:00
Magnus Müller 67fbcf46a5 Update test_agent_real_tasks to use None for user_data_dir in BrowserSession 2025-06-07 01:16:52 +02:00
Magnus Müller 80dbad0811 Refactor test_agent_real_task to use temporary browser session and improve judge context handling 2025-06-07 00:46:58 +02:00
Magnus Müller 80fd5e97e8 Add tests for agent real tasks using pytest and ChatOpenAI 2025-06-07 00:46:43 +02:00
Nick Sweeting 8504bc4c7b parallelize playwright tests using loop scope=session and pytest-xdist 2025-06-06 02:03:25 -07:00
Nick Sweeting 9b3dd67dad stop playwright during browser teardown 2025-06-06 01:23:47 -07:00
Nick Sweeting 683a97e475 try and tweak test_registry to fix deadlock tests 2025-06-06 01:01:31 -07:00
Nick Sweeting 819859c006 add BrowserSession.kill method 2025-06-05 23:44:23 -07:00
Nick Sweeting e1aa19bf5b fix test deadlocks by setting max 30sec timeout on launch and close 2025-06-05 23:35:25 -07:00
Nick Sweeting 743e357f46 fix test deadlocks 2025-06-05 23:29:05 -07:00
Nick Sweeting b07e838543 fix downloads tests 2025-06-05 23:16:58 -07:00
Nick Sweeting 02b4f2c5de fix tests by using temp dirs and headless for all tests 2025-06-05 23:12:32 -07:00
Nick Sweeting 8306a01a02 cleaner agent and browser session logging on connect and disconnect 2025-06-05 22:21:42 -07:00
Nick Sweeting 2a39dfa1c5 use self.logger to shorten log lines 2025-06-05 21:21:10 -07:00
Nick Sweeting 23d3bf4205 rename .emit to .dispatch and prefix event params to prevent clashes 2025-06-05 21:04:26 -07:00
Nick Sweeting f3c5672c46 better circular loop prevention for eventbus 2025-06-05 20:23:41 -07:00
Nick Sweeting 52b6b4b1cb simplify eventbus methods 2025-06-05 19:43:43 -07:00
Nick Sweeting 57e1d6ebe4 remove dead code 2025-06-05 19:01:11 -07:00
Nick Sweeting 9da6c485b7 implement new EventBus module with cloud_events to send on agent steps 2025-06-05 18:51:22 -07:00
Nick Sweeting cf6a0d9fbf improve chrome launch error handling when user_data_dir is bad 2025-06-05 18:22:02 -07:00
Nick Sweeting 1f32315031 fix fixture scopes in tests 2025-06-05 03:27:16 -07:00
Nick Sweeting f1c15d25ee use reusable pytest endpoint 2025-06-05 03:02:04 -07:00
Nick Sweeting c5cc142a4c fix cookies relative path test 2025-06-05 02:28:17 -07:00
Nick Sweeting 8e06ab5018 update tests for BrowserSession.start 2025-06-05 02:24:34 -07:00
Nick Sweeting 767a75e2bf rename downloads_dir to downloads_path 2025-06-05 02:17:57 -07:00
Nick Sweeting fe0d206877 fix tests 2025-05-30 03:57:10 -07:00
Nick Sweeting f5bb3828a0 re-add support for cookies_file param 2025-05-27 20:50:31 -07:00
Nick Sweeting aed2fa27bb add tests for 2025-05-27 17:09:18 -07:00
Nick Sweeting 5b2023bcff more tests cleanup 2025-05-26 18:27:10 -07:00
Nick Sweeting 94c6d50253 fix screen and viewport logic 2025-05-26 17:35:56 -07:00
Nick Sweeting 07772c8d1d clean up ci tests and rename them for clarity 2025-05-26 16:57:16 -07:00
Nick Sweeting af3cc4d13e upgrade to modern pytest-asyncio without excess decorators 2025-05-26 16:57:15 -07:00
Nick Sweeting ae3d47b192 fix function-scope runloop 2025-05-26 04:24:49 -07:00
Nick Sweeting 1eeb97a92e more tests fixes to make it more deterministic 2025-05-25 17:32:09 -07:00
Nick Sweeting 7a94eff56e more tests fixes 2025-05-25 14:09:32 -07:00
Nick Sweeting 89f83c9e89 test fix 2025-05-25 06:49:25 -07:00
Nick Sweeting 4ffd6bedc0 handle mixed order action params 2025-05-25 06:14:05 -07:00
Nick Sweeting f01c55c110 add failing test 2025-05-25 06:01:41 -07:00
Nick Sweeting 8ddb5a68f5 better wait action tests 2025-05-25 05:06:15 -07:00
Nick Sweeting 565de1f328 merge tests for action registry and clarify mixed args mode 2025-05-25 04:35:56 -07:00
Nick Sweeting addeb56f8c add new param optimization test 2025-05-25 03:50:02 -07:00
Nick Sweeting eaa5a6b896 add claude rules and tests/ci 2025-05-25 03:39:17 -07:00
Nick Sweeting 10ec1e8841 fix all actions to use kwargs at callsites 2025-05-25 02:58:17 -07:00
Nick Sweeting d2ac59e211 refactor action registration to consistently require params or args and kwargs 2025-05-25 01:38:18 -07:00
Nick Sweeting 3f614ab9df simplify _replace_secrets func to take page obj directly 2025-05-24 02:20:52 -07:00
Nick Sweeting 6a19f29082 move SpecialActionParameters into views file 2025-05-23 18:21:19 -07:00
Nick Sweeting 32006bb272 fix tests 2025-05-23 00:55:03 -07:00