2 This tests that aria-invalid causes the right attribute to be returned and it ensures a notification is sent when it changes.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'true'
8 PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'grammar'
9 PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'false'
10 PASS accessibilityController.focusedElement.stringAttributeValue('AXInvalid') is 'false'
11 PASS addedNotification is true
12 PASS successfullyParsed is true
15 Notification received successfully.