blob: 86942246f647d41a86bdc4b2ff03e53beabcee15 [file] [log] [blame]
Test label1 Test label2
This tests that if a label element references a hidden control, it is still visible to accessibility.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS container.childAtIndex('0').role is 'AXRole: AXStaticText'
PASS container.childAtIndex('0').childAtIndex(0).role is 'AXRole: AXStaticText'
PASS container.childAtIndex('0').childAtIndex(0).stringValue is 'AXValue: Test label1'
PASS container.childAtIndex('2').role is 'AXRole: AXCheckBox'
PASS container.childAtIndex('2').titleUIElement().isEqual(labelForCheckbox) is true
PASS successfullyParsed is true
TEST COMPLETE