;
  assert_true(formSubmit, 'missing type should trigger form submit event');
  assert_false(mypopover.matches(':popover-open'), 'type=invalid should not toggle the popover');
}, 'Button missing type with form attr should trigger form submit and not toggle popover');

test((t) => {
  t.add_cleanup(() => {
    mypopover.hidePopover();
  });
  document.getElementById('reset-outside-form').click();
  assert_true(mypopover.matches(':popover-open'), 'type=reset should toggle the popover');
}, 'Button type=reset 