Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / toolkit / profile / xpcshell / test_select_noname.js
blob278b38089c145531513756ea7e6c3e038a1c57a7
1 /* Any copyright is dedicated to the Public Domain.
2    http://creativecommons.org/publicdomain/zero/1.0/ */
4 /*
5  * Tests that when passing the -P command line argument and not passing a
6  * profile name the profile manager is opened.
7  */
9 add_task(async () => {
10   let profileData = {
11     options: {
12       startWithLastProfile: true,
13     },
14     profiles: [
15       {
16         name: "Profile1",
17         path: "Path1",
18       },
19       {
20         name: "Profile2",
21         path: "Path2",
22         default: true,
23       },
24       {
25         name: "Profile3",
26         path: "Path3",
27       },
28     ],
29   };
31   writeProfilesIni(profileData);
32   checkProfileService(profileData);
34   testStartsProfileManager(["-P"]);
35 });