Pass | togglePopover should toggle the popover and return true or false as specified. | Asserts runPass | assert_false(false, "Popover should be closed when the test starts.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:12:3) | Pass | assert_true(true, "togglePopover() should return true.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:15:3) | Pass | assert_true(true, "togglePopover() should open the popover.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:17:3) | Pass | assert_true(true, "togglePopover(true) should return true.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:20:3) | Pass | assert_true(true, "togglePopover(true) should open the popover.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:22:3) | Pass | assert_false(false, "togglePopover() should return false.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:25:3) | Pass | assert_false(false, "togglePopover() should close the popover.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:27:3) | Pass | assert_false(false, "togglePopover(false) should return false.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:30:3) | Pass | assert_false(false, "togglePopover(false) should close the popover.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:32:3) |
|
Pass | togglePopover's return value should reflect what the end state is, not just the force parameter. | Asserts runPass | assert_false(false, "togglePopover(true) should return false when the popover does not get opened.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:39:3) | Pass | assert_false(false)
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:41:3) |
|
Pass | togglePopover should throw an exception when there is no popover attribute. | Asserts runPass | assert_throws_dom("NotSupportedError", function "() => popover.togglePopover()", "togglePopover() should throw an exception when the element has no popover attribute.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:52:3) | Pass | assert_throws_dom("NotSupportedError", function "() => popover.togglePopover(true)", "togglePopover(true) should throw an exception when the element has no popover attribute.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:54:3) | Pass | assert_throws_dom("NotSupportedError", function "() => popover.togglePopover(false)", "togglePopover(false) should throw an exception when the element has no popover attribute.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:56:3) | Pass | assert_throws_dom("InvalidStateError", function "() => popover.togglePopover()", "togglePopover() should throw an exception when the element is disconnected.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:62:3) | Pass | assert_throws_dom("InvalidStateError", function "() => popover.togglePopover(true)", "togglePopover(true) should throw an exception when the element is disconnected.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:64:3) | Pass | assert_throws_dom("InvalidStateError", function "() => popover.togglePopover(false)", "togglePopover(false) should throw an exception when the element is disconnected.")
at Test.<anonymous> ( /html/semantics/popovers/togglePopover.html:66:3) |
|