blob: 44c71fe0b4bfcdee44d8c5c2442870f4a57d24d0 [file] [log] [blame]
This test makes sure that AccessibilityNodeObjects are properly detached when the node they point to is deleted.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Button role: AXRole: AXButton
Button role after being detached: AXRole: AXInvalid
PASS buttonRole != detachedRole is true
Canvas button role: AXRole: AXButton
PASS canvasButtonRole is buttonRole
Canvas button role after being detached: AXRole: AXInvalid
PASS detachedCanvasButtonRole is detachedRole
PASS successfullyParsed is true
TEST COMPLETE