agent-desktop/tests
Lahfir eb9f7c0f06 test: harden review findings — window scoping, serde, offscreen, hit-test naming
Addresses the code review's remaining validated findings (test + robustness
hardening; no P0 correctness left after the name and window-bridge fixes):

- find --window-id: MockAdapter test (two windows, distinct trees) proving the
  flag scopes the search to the requested window and a swap with app would fail.
- WindowScope serde: batch-JSON back-compat + typo-rejection tests for the
  flattened app/window_id group on find/snapshot/screenshot.
- Offscreen bounds: extracted window_bounds_for_children as a pure helper and
  restored the AXWindow-own-bounds / inherited-fallback unit coverage that was
  lost when the live query matcher was deleted.
- Real-app guards: the #[ignore] snapshot_test.rs guards now print a SKIP reason
  before each early return, so a no-op run is visible instead of a silent pass.
- Hit-test occluder naming now applies promoted_label.or_else(resolve_element_name),
  matching the strict resolver and ambiguity classifier.
- Hover e2e asserts a clean (non-"hovered") baseline after the cursor reset.

Verified: e2e 71/0, Finder sidebar cells still re-resolve, clippy + workspace
tests green.
2026-07-03 21:05:49 -07:00
..
conformance refactor: remove dead code and unify duplicated helpers 2026-07-03 03:34:16 -07:00
e2e test: harden review findings — window scoping, serde, offscreen, hit-test naming 2026-07-03 21:05:49 -07:00
ffi-python feat(ffi): Phase B and C — Python smoke harness, parity gates, build.rs codegen (#77) 2026-06-26 19:14:14 -07:00
fixture-app fix: harden agent-desktop reliability (#54) 2026-06-20 15:43:42 -04:00
fixtures feat: add trace viewer and replay artifacts 2026-07-02 11:48:06 -07:00
support refactor: remove dead code and unify duplicated helpers 2026-07-03 03:34:16 -07:00