When you click on the Popover or the Tooltip custom JS will remove the component from the DOM. This test verifies that the disconnected callback fires on removal and the Popover/Tooltip disappears and is destroyed.

This is the content of the popover with a call to action.
Solved

This example shows a popover and a tooltip inside another web component which may trigger disconnectedCallback if the outer component loads last.

This is the content of the popover with a call to action.
Solved