testConvertBreaksToDivsKeepsId() {
    if (BrowserFeature.CAN_LISTIFY_BR) {
      return;
    }
    setUpConvertBreaksToDivTests();
    FIELDMOCK.$replay();

    HELPER.select('one', 0, 'two', 0);
    FORMATTER.convertBreaksToDivs_();
    /**
     * @suppress {missingProperties} suppression added to enable type checking
     */
    const html = FIELDMOCK.getElement().innerHTML.toLowerCase();
    assertNotBadBrElements(html);
    const idBr = document.getElementById('br1');
    assertNotNull('There should still be a tag with id="br1"', idBr);
    assertEquals(
        'The tag with id="br1" should be a <div> now', String(TagName.DIV),
        idBr.tagName);
    assertNull(
        'There should not be any tag with id="temp_br"',
        document.getElementById('temp_br'));

    FIELDMOCK.$verify();
    tearDownConvertBreaksToDivTests();
  }
Regression test for {@bug 1939883}, where if a br has an id, it causes
the convert br code to throw a js error. This goes a step further and
ensures that the id is preserved in the resulting div element.
@suppress {visibility} suppression added to enable type checking