Add terminal view path like target tests (#35422)

Part of 
- #28238

This PR refactors `Event::NewNavigationTarget` and `Event::Open`
handling of `PathLikeTarget` and associated code in `terminal_view.rs`
into its own file, `terminal_path_like_target.rs` for improved
testability, and adds tests which cover cases from:
  - #28339
  - #28407
  - #33498 
  - #34027
  - #34078

Release Notes:

- N/A
c1e749906fDave Waggoner committed on 8/21/2025, 6:41:32 PM· committed by GitHubparent81cb248
2 files changedLine totals unavailable