Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassSelection: Collapse the selection using collapse()
Asserts run
Pass
assert_equals(Element node <p id="p1">Add a range to the selection</p>, Element node <p id="p1">Add a range to the selection</p>)
    at Test.<anonymous> ( /selection/collapse.htm:17:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /selection/collapse.htm:18:5)
Pass
assert_equals(Element node <p id="p1">Add a range to the selection</p>, Element node <p id="p1">Add a range to the selection</p>)
    at Test.<anonymous> ( /selection/collapse.htm:19:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /selection/collapse.htm:20:5)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /selection/collapse.htm:21:5)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /selection/collapse.htm:22:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /selection/collapse.htm:23:5)

Add a range to the selection