  test('buttons', function() {
    const infoBar = document.createElement('tr-ui-b-info-bar');
    infoBar.visible = true;
    infoBar.message = 'This is an info bar with buttons';
    let didClick = false;
    const button = infoBar.addButton('More info...', function() {
      didClick = true;
    });
    button.click();
    assert.isTrue(didClick);
    this.addHTMLOutput(infoBar);
  });

  test('hiding', function() {
    const infoBar = document.createElement('tr-ui-b-info-bar');
    infoBar.message = 'Th