OLD | NEW |
1 | 1 |
| 2 |
2 === Get the Document === | 3 === Get the Document === |
3 | 4 |
4 | 5 |
5 === Get immediate children of the body === | 6 === Get immediate children of the body === |
6 | 7 |
7 PASS: First child is a div | 8 PASS: First child is a div |
8 PASS: First child is div#depth-1 | 9 PASS: First child is div#depth-1 |
9 PASS: First child has one child | 10 PASS: First child has one child |
10 PASS: First child has no .children property | 11 PASS: First child has no .children property |
11 | 12 |
12 === Get children of div#depth-1 three levels deep === | 13 === Get children of div#depth-1 three levels deep === |
13 | 14 |
14 PASS: div#depth-1 has nodes 3 levels deep | 15 PASS: div#depth-1 has nodes 3 levels deep |
15 | 16 |
16 === Get all children of body === | 17 === Get all children of body === |
17 | 18 |
18 PASS: div#depth-1 has nodes 9 levels deep | 19 PASS: div#depth-1 has nodes 9 levels deep |
19 | 20 |
20 === Pass an invalid depth === | 21 === Pass an invalid depth === |
21 | 22 |
22 Backend error: Please provide a positive integer as a depth or -1 for entire sub
tree (-32000) | 23 Backend error: Please provide a positive integer as a depth or -1 for entire sub
tree (-32000) |
23 | 24 |
24 PASS: Expected number of setChildNodes events | |
25 | 25 |
OLD | NEW |