testEnterInEmptyListItemInEmptyList() {
    if (userAgent.GECKO) {
      field1.setSafeHtml(
          false,
          SafeHtml.create('ul', {}, SafeHtml.create('li', {}, Unicode.NBSP)));
      const helper = new TestHelper(field1.getElement());
      const li = dom.getElementsByTagName(TagName.LI, field1.getElement())[0];
      helper.select(li.firstChild, 0);
      events.fireKeySequence(field1.getElement(), KeyCodes.ENTER);
      helper.assertHtmlMatches('<p>&nbsp;</p>');
    }
  }
Verifies correct handling of pressing enter in an empty list item.