Read-only mirror of github.com/ondeinference/xcrs-controlkit.
Mirrored from https://github.com/ondeinference/xcrs-controlkit.git
Synced Nov 24, 18:15 UTC
Fix a server-killing typeKey path and tighten app/type handling in the runner
typeKey ran against application(params), so typing a key into a stopped app recorded an XCTest failure. That failure ends the runner's only test case and takes the server down. Route it through runningApplication, the way the other interactions already do. A few smaller fixes in the same area: - screenshot's `named` flag counted an empty path or bundleId as naming an app, so `path: ""` screenshotted the app under test instead of erroring. Treat empty as absent, the way application(params) does. - The move-drag grab point could land on the traffic lights for windows narrower than about 140pt. Floor it at 100pt so it stays clear of them; normal windows are unchanged. - The type map used to narrow a tap left out several types device.dump.ui reports (group, scrollview, table, webview, and the rest), so narrowing by those failed with invalidParameter. In the parser, unquotedValue matched a ", value: " that sits inside a quoted title or label. It now scans past quoted attributes first, so a title like 'Total, value: n/a' is no longer read as a value. Added a test for that case. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.6 <noreply@sigit.si>