add_task(function* testBasicPrompt() {
  pushPref("Bool", PREF_APP_UPDATE_STAGING_ENABLED, true);
  let updateParams = "showPrompt=1&promptWaitTime=0";
  gUseTestUpdater = true;

  yield runUpdateTest(updateParams, 1, [
    {
      notificationId: "update-available",
      button: "button",
      beforeClick() {
        checkWhatsNewLink("update-available-whats-new");
      }
    },
    {
      notificationId: "update-restart",
      button: "secondarybutton",
      cleanup() {
        PanelUI.removeNotification(/.*/);
      }
    },
  ]);
});
