const nestedPopover = document.querySelector('#no-focus-candidate>[popover]>[popover]'); invoker.focus(); // Make sure button is focused. invoker.setAttribute ...
assert_true(dialog.hasAttribute('open'), 'The dialog should be open.'); assert_true(popover.matches(':popover-open'), 'The popover should be open.'); assert_false ...