1 This tests that clicking on indeterminate checkbox flips both checked/indeterminate states and calling preventDefault restores them.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Test if clicking on unchecked indeterminate checkbox flips both checked/indeterminate states
7 PASS cb.checked is true
8 PASS cb.indeterminate is false
9 Test if clicking on checked indeterminate checkbox flips both checked/indeterminate states
10 PASS cb.checked is false
11 PASS cb.indeterminate is false
12 Test if preventDefault restores the checked/indeterminate states
13 PASS cb.checked is true
14 PASS cb.indeterminate is false
15 PASS cb.checked is false
16 PASS cb.indeterminate is true
17 PASS successfullyParsed is true