tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

browser_search_subdialogs_within_preferences_9.js (521B)


      1 /* Any copyright is dedicated to the Public Domain.
      2   https://creativecommons.org/publicdomain/zero/1.0/ */
      3 
      4 "use strict";
      5 
      6 /*
      7 * This file contains tests for the "Add Engine" subdialog.
      8 */
      9 
     10 /**
     11 * Test for searching for the "Add Engine" subdialog.
     12 */
     13 add_task(async function searchAddEngine() {
     14  await openPreferencesViaOpenPreferencesAPI("paneGeneral", {
     15    leaveOpen: true,
     16  });
     17  await evaluateSearchResults("Add Engine", "oneClickSearchProvidersGroup");
     18  BrowserTestUtils.removeTab(gBrowser.selectedTab);
     19 });