blob: 510d0bd889faa623f6374b0376899012b9238f4b [file] [log] [blame] [edit]
This tests that aria fallback roles work correctly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS accessibilityController.accessibleElementById("item-1") is null
PASS accessibilityController.accessibleElementById("item-2").role is "AXRole: AXButton"
PASS accessibilityController.accessibleElementById("item-2").stringAttributeValue("AXInvalid") is "grammar"
PASS accessibilityController.accessibleElementById("item-2").stringAttributeValue("AXKeyShortcutsValue") is "Shift + E"
PASS accessibilityController.accessibleElementById("item-3").role is "AXRole: AXButton"
PASS accessibilityController.accessibleElementById("item-3").stringAttributeValue("AXInvalid") is "spelling"
PASS accessibilityController.accessibleElementById("item-3").stringAttributeValue("AXKeyShortcutsValue") is "Command + T"
PASS successfullyParsed is true
TEST COMPLETE