blob: 5d55d7c2bc1d139f1e3e04b3dc8afa519eb3c397 [file] [log] [blame]
This tests that input type='number' exposes the accessibility of it's stepper correctly
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS textfield.childrenCount is 1
PASS incrementor.role is 'AXRole: AXIncrementor'
PASS incrementor.width > 0 is true
PASS incrementor.height > 0 is true
PASS incrementor.childrenCount is 2
PASS incrementor.childAtIndex(0).role is 'AXRole: AXIncrementorArrow'
PASS incrementor.childAtIndex(0).subrole is 'AXSubrole: AXIncrementArrow'
PASS incrementor.childAtIndex(0).width > 0 is true
PASS incrementor.childAtIndex(0).height > 0 is true
PASS incrementor.childAtIndex(0).isEnabled is true
PASS textfield.stringValue is 'AXValue: 1'
PASS incrementor.childAtIndex(1).role is 'AXRole: AXIncrementorArrow'
PASS incrementor.childAtIndex(1).subrole is 'AXSubrole: AXDecrementArrow'
PASS incrementor.childAtIndex(1).width > 0 is true
PASS incrementor.childAtIndex(1).height > 0 is true
PASS incrementor.childAtIndex(1).isEnabled is true
PASS textfield.stringValue is 'AXValue: 0'
PASS successfullyParsed is true
TEST COMPLETE