blob: b91d5250acf276aafb493ef13b1ddafed33ee140 [file] [log] [blame]
This tests that aria-invalid causes the right attribute to be returned and it ensures a notification is sent when it changes.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'true'
PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'grammar'
PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'false'
PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'false'
PASS addedNotification is true
PASS successfullyParsed is true
TEST COMPLETE
Notification received successfully.