function assertProgressBarVisible(container) {
  const elements =
      dom.getElementsByClass('firebaseui-id-page-spinner', container);
  assertEquals(1, elements.length);
}
Asserts the progress bar is visible.
@param {!Element} container The html element container of the widget.