blob: 4f93570937b948b99af7aca8dd1c25fdf50e90be [file] [edit]
Book Name / ISBN Author Price ($)
+ A Question of Love
978-3-453-40540-0 Nora Roberts
9.99
This tests that the treegrid ARIA role does what it should (be exposed as a AXTable and support AXSelectedRows)
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS: treegrid.isAttributeSupported('AXSelectedRows') === true
PASS: treegrid.selectedRowAtIndex(0).isEqual(selectedRow) === true
PASS: selectedRow.isExpanded === false
PASS: selectedRow.hierarchicalLevel === 0
PASS: secondRow.isExpanded === true
PASS: secondRow.hierarchicalLevel === 0
PASS: thirdRow.isExpanded === true
PASS: thirdRow.hierarchicalLevel === 1
PASS: thirdRow.disclosedByRow().isEqual(secondRow) === true
PASS: secondRow.disclosedRowAtIndex(0).isEqual(thirdRow) === true
PASS successfullyParsed is true
TEST COMPLETE