OLD | NEW |
| (Empty) |
1 This test that the itemProp should be correct for an element that has itemProp a
ttribute. | |
2 | |
3 Created element of type: div | |
4 Set attribute: itemprop, value: foo bar FOO FOo | |
5 PASS element.itemProp.length == 4 is true | |
6 PASS element.itemProp.toString() == 'foo bar FOO FOo' is true | |
7 PASS element.itemProp.item(0) == 'foo' is true | |
8 PASS element.itemProp.item(1) == 'bar' is true | |
9 PASS element.itemProp[0] == 'foo' is true | |
10 PASS element.itemProp[1] == 'bar' is true | |
11 PASS element.itemProp.contains('bar') is true | |
12 | |
13 itemProp should return case-sensitive strings. | |
14 PASS element.itemProp.item(2) == 'FOO' is true | |
15 PASS element.itemProp[2] == 'FOO' is true | |
16 PASS element.itemProp.item(3) == 'FOo' is true | |
17 FAIL element.itemProp[2] == 'FOo' should be true. Was false. | |
18 | |
19 itemProp should not contain an undefined token. | |
20 PASS element.itemProp.contains('test') is false | |
21 | |
22 itemProp.length should be 0 if element doesn't have any tokens. | |
23 Created element of type: div | |
24 Set attribute: itemprop, value: | |
25 PASS element1.itemProp.length == 0 is true | |
26 PASS successfullyParsed is true | |
27 | |
28 TEST COMPLETE | |
29 | |
OLD | NEW |