You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eb9c30f
Browse filesBrowse the repository at this point in the historyBrowse files
improvement(computer-use): keep an element's id stable across observations (#10046)
* improvement(computer-use): keep an element's id stable across observations
* fix the snapshot key and make the stable-id fixture insert ahead of the field
* assert stable ids on an element after the inserted row
* keep element ids across actions, which consume the actionable snapshot
* keep each app's id counter apart from the evictable history and carry the index only when a full read fits the cap
assertfind(state(), role='AXTextField', label='Fixture click-focus field').get('value') =='replaced', 'A background app was clicked or typed into'
214
220
call('activate_app', bundleId=bundle)
215
-
print('PASS: real fixture state, a large closed menu not reported as truncation, secure suppression, an element reported at infinity read without a frame, AX click/set/action, Unicode typing, keyboard chord, coordinate drag and scrolling, text refused by a slider, typing into a date picker, a window target typing into its focused editor, a title-bar click, a batch that applies, stops at a failing step, refuses before dispatch and stops when a sheet opens, click-to-focus for an editor that ignores Accessibility focus (inserting at the end, refusing an unconfirmed caret, and none in the background); every mutation verified in fresh state; screenshot='+ ('verified'ifpermissions['screenRecording'] else'BLOCKED'))
221
+
print('PASS: real fixture state, element ids stable across observations, a large closed menu not reported as truncation, secure suppression, an element reported at infinity read without a frame, AX click/set/action, Unicode typing, keyboard chord, coordinate drag and scrolling, text refused by a slider, typing into a date picker, a window target typing into its focused editor, a title-bar click, a batch that applies, stops at a failing step, refuses before dispatch and stops when a sheet opens, click-to-focus for an editor that ignores Accessibility focus (inserting at the end, refusing an unconfirmed caret, and none in the background); every mutation verified in fresh state; screenshot='+ ('verified'ifpermissions['screenRecording'] else'BLOCKED'))
0 commit comments