Commit Graph

18 Commits

Author SHA1 Message Date
Chris Schnabl
03608b62a2 Remove unused paramter 2025-09-21 21:38:42 -07:00
Magnus Müller
649b6fc7cb Refactor and clean up browser session tests for improved clarity and performance
- Removed outdated and redundant tests from `test_browser_session_element_cache.py` and `test_browser_session_recent_events.py`.
- Simplified event handling and assertions in `test_browser_session_recent_events.py` to focus on relevant scenarios.
- Updated assertions in `test_tools.py` for more precise content verification.
- Enhanced overall test structure for better maintainability.
2025-08-26 21:13:50 -07:00
Magnus Müller
8d927edc9b Enhance browser event tests for improved accuracy and consistency
- Updated URL verification in `test_browser_event_ClickElementEvent.py` to account for navigation timing.
- Refactored page title retrieval in `test_browser_event_NavigateToUrlEvent.py` to use CDP methods.
- Improved error handling in `test_browser_event_ScrollEvent.py` to ensure event processing does not crash.
- Modified page navigation in `test_browser_session_element_cache.py` to utilize CDP events.
- Adjusted browser state retrieval in `test_browser_session_recent_events.py` to include recent events.
- Cleaned up legacy tests in `test_registry.py` to streamline the test suite.
- Updated assertions in `test_tools.py` for more robust content verification.
2025-08-26 21:07:02 -07:00
Magnus Müller
9677cec343 Refactor navigation tests to improve structure and reliability
- Removed outdated tests from `test_browser_event_NavigateToUrlEvent.py` and `test_browser_event_NavigateToUrlEvent2.py` to streamline the test suite.
- Updated navigation assertions to utilize current methods for better accuracy.
- Enhanced `test_browser_session_element_cache.py` to use CDP events for page navigation and state retrieval.
- Adjusted index handling in `test_assumption_4_click_action_specific_issue` for consistency in element selection.
2025-08-26 20:51:39 -07:00
Magnus Müller
6aa3df3729 More navigation fixes 2025-08-26 20:39:39 -07:00
Magnus Müller
b84c9d1b15 Refactor tests to use CDP events for navigation and element interactions
- Updated test cases in `test_browser_event_NavigateToUrlEvent.py` to utilize `get_tabs()` for tab management.
- Adjusted assertions to reflect changes in tab handling.
- Modified `test_browser_event_NavigateToUrlEvent2.py` to increase navigation timeout and improve event assertions.
- Removed deprecated `TypeTextEvent` tests due to file deletions.
- Enhanced `test_browser_session_element_cache.py` to use CDP events for DOM processing.
- Refactored `test_browser_session_tab_management.py` to use CDP events for tab creation and closure.
- Updated `test_browser_watchdog_downloads.py` to simplify download tests and remove Playwright dependencies.
- Skipped tests that require complex element selection or page manipulation not supported by the current CDP architecture.
2025-08-26 20:23:21 -07:00
Magnus Müller
0ead204327 Fix _generate_recent_events_summary to get_browser_state_summary 2025-08-26 19:20:57 -07:00
Magnus Müller
be1a014f56 Update navigation event 2025-08-26 19:07:14 -07:00
Magnus Müller
caa0e7ef1b Rename controller to tools instances 2025-08-26 11:30:39 -07:00
Magnus Müller
e89e78842c Rename controller file to tools 2025-08-26 11:06:28 -07:00
Magnus Müller
2a83442f17 Rename Controller to Tools 2025-08-26 11:04:16 -07:00
Nick Sweeting
3dcfa7ebb1 skip broken tests 2025-08-19 13:27:14 -07:00
Nick Sweeting
6fab25c043 tests fixes 2025-08-14 14:32:32 -07:00
Nick Sweeting
a1144052ad tests sync client auth 2025-06-21 06:09:57 -07:00
Nick Sweeting
3209fd95f7 lint and hint fixes 2025-06-21 06:07:21 -07:00
Nick Sweeting
6c695d0a42 more lint and hint fixes 2025-06-21 05:39:17 -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
07772c8d1d clean up ci tests and rename them for clarity 2025-05-26 16:57:16 -07:00