1 | import type { Options } from '@wdio/types';
|
2 | import type { Questionnair } from './types.js';
|
3 | export declare const pkg: any;
|
4 | export declare const CLI_EPILOGUE: string;
|
5 | export declare const CONFIG_HELPER_INTRO = "\n===============================\n\uD83E\uDD16 WDIO Configuration Wizard \uD83E\uDDD9\n===============================\n";
|
6 | export declare const PMs: readonly ["npm", "yarn", "pnpm", "bun"];
|
7 | export declare const SUPPORTED_CONFIG_FILE_EXTENSION: string[];
|
8 | export declare const configHelperSuccessMessage: ({ projectRootDir, runScript, extraInfo }: {
|
9 | projectRootDir: string;
|
10 | runScript: string;
|
11 | extraInfo: string;
|
12 | }) => string;
|
13 | export declare const CONFIG_HELPER_SERENITY_BANNER = "\nLearn more about Serenity/JS:\n \uD83D\uDD17 https://serenity-js.org\n";
|
14 | export declare const DEPENDENCIES_INSTALLATION_MESSAGE = "\nTo install dependencies, execute:\n%s\n";
|
15 | export declare const NPM_INSTALL = "";
|
16 | export declare const ANDROID_CONFIG: {
|
17 | platformName: string;
|
18 | automationName: string;
|
19 | deviceName: string;
|
20 | };
|
21 | export declare const IOS_CONFIG: {
|
22 | platformName: string;
|
23 | automationName: string;
|
24 | deviceName: string;
|
25 | };
|
26 | export declare enum CompilerOptions {
|
27 | Babel = "Babel (https://babeljs.io/)",
|
28 | TS = "TypeScript (https://www.typescriptlang.org/)",
|
29 | Nil = "No!"
|
30 | }
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | export declare const SUPPORTED_PACKAGES: {
|
36 | runner: {
|
37 | name: string;
|
38 | value: string;
|
39 | }[];
|
40 | framework: {
|
41 | name: string;
|
42 | value: string;
|
43 | }[];
|
44 | reporter: {
|
45 | name: string;
|
46 | value: string;
|
47 | }[];
|
48 | plugin: {
|
49 | name: string;
|
50 | value: string;
|
51 | }[];
|
52 | service: {
|
53 | name: string;
|
54 | value: string;
|
55 | }[];
|
56 | };
|
57 | export declare const SUPPORTED_BROWSER_RUNNER_PRESETS: ({
|
58 | name: string;
|
59 | value: string;
|
60 | } | {
|
61 | name: string;
|
62 | value: boolean;
|
63 | })[];
|
64 | export declare const TESTING_LIBRARY_PACKAGES: Record<string, string>;
|
65 | export declare enum BackendChoice {
|
66 | Local = "On my local machine",
|
67 | Experitest = "In the cloud using Experitest",
|
68 | Saucelabs = "In the cloud using Sauce Labs",
|
69 | Browserstack = "In the cloud using BrowserStack",
|
70 | OtherVendors = "In the cloud using Testingbot or LambdaTest or a different service",
|
71 | Grid = "I have my own Selenium cloud"
|
72 | }
|
73 | export declare enum ElectronBuildToolChoice {
|
74 | ElectronForge = "Electron Forge (https://www.electronforge.io/)",
|
75 | ElectronBuilder = "electron-builder (https://www.electron.build/)",
|
76 | SomethingElse = "Something else"
|
77 | }
|
78 | declare enum ProtocolOptions {
|
79 | HTTPS = "https",
|
80 | HTTP = "http"
|
81 | }
|
82 | export declare enum RegionOptions {
|
83 | US = "us",
|
84 | EU = "eu",
|
85 | APAC = "apac"
|
86 | }
|
87 | export declare const E2E_ENVIRONMENTS: {
|
88 | name: string;
|
89 | value: string;
|
90 | }[];
|
91 | export declare const MOBILE_ENVIRONMENTS: {
|
92 | name: string;
|
93 | value: string;
|
94 | }[];
|
95 | export declare const BROWSER_ENVIRONMENTS: {
|
96 | name: string;
|
97 | value: string;
|
98 | }[];
|
99 | declare function isBrowserRunner(answers: Questionnair): boolean;
|
100 | export declare function usesSerenity(answers: Questionnair): boolean;
|
101 | export declare const isNuxtProject: boolean;
|
102 | export declare const QUESTIONNAIRE: ({
|
103 | type: string;
|
104 | name: string;
|
105 | message: string;
|
106 | choices: {
|
107 | name: string;
|
108 | value: string;
|
109 | }[];
|
110 | when?: undefined;
|
111 | default?: undefined;
|
112 | } | {
|
113 | type: string;
|
114 | name: string;
|
115 | message: string;
|
116 | choices: ({
|
117 | name: string;
|
118 | value: string;
|
119 | } | {
|
120 | name: string;
|
121 | value: boolean;
|
122 | })[];
|
123 | when: typeof isBrowserRunner;
|
124 | default?: undefined;
|
125 | } | {
|
126 | type: string;
|
127 | name: string;
|
128 | message: string;
|
129 | default: boolean;
|
130 | when: (answers: Questionnair) => string | false | undefined;
|
131 | choices?: undefined;
|
132 | } | {
|
133 | type: string;
|
134 | name: string;
|
135 | message: string;
|
136 | choices: ElectronBuildToolChoice[];
|
137 | when: (answers: Questionnair) => boolean;
|
138 | default?: undefined;
|
139 | } | {
|
140 | type: string;
|
141 | name: string;
|
142 | message: string;
|
143 | choices: BackendChoice[];
|
144 | when: (answers: Questionnair) => boolean;
|
145 | default?: undefined;
|
146 | } | {
|
147 | type: string;
|
148 | name: string;
|
149 | message: string;
|
150 | choices: {
|
151 | name: string;
|
152 | value: string;
|
153 | }[];
|
154 | default: string;
|
155 | when: (answers: Questionnair) => boolean;
|
156 | } | {
|
157 | type: string;
|
158 | name: string;
|
159 | message: string;
|
160 | choices: {
|
161 | name: string;
|
162 | value: string;
|
163 | }[];
|
164 | default: string[];
|
165 | when: (answers: Questionnair) => boolean;
|
166 | } | {
|
167 | type: string;
|
168 | name: string;
|
169 | message: string;
|
170 | when: (answers: Questionnair) => boolean | undefined;
|
171 | choices?: undefined;
|
172 | default?: undefined;
|
173 | } | {
|
174 | type: string;
|
175 | name: string;
|
176 | message: string;
|
177 | default: string;
|
178 | when: (answers: Questionnair) => boolean | undefined;
|
179 | choices?: undefined;
|
180 | } | {
|
181 | type: string;
|
182 | name: string;
|
183 | message: string;
|
184 | default: ProtocolOptions;
|
185 | choices: ProtocolOptions[];
|
186 | when: (answers: Questionnair) => boolean;
|
187 | } | {
|
188 | type: string;
|
189 | name: string;
|
190 | message: string;
|
191 | choices: RegionOptions[];
|
192 | when: (answers: Questionnair) => boolean;
|
193 | default?: undefined;
|
194 | } | {
|
195 | type: string;
|
196 | name: string;
|
197 | message: string;
|
198 | default: boolean;
|
199 | when: (answers: Questionnair) => boolean;
|
200 | choices?: undefined;
|
201 | } | {
|
202 | type: string;
|
203 | name: string;
|
204 | message: string;
|
205 | choices: (answers: Questionnair) => {
|
206 | name: string;
|
207 | value: string;
|
208 | }[];
|
209 | when?: undefined;
|
210 | default?: undefined;
|
211 | } | {
|
212 | type: string;
|
213 | name: string;
|
214 | message: string;
|
215 | choices: (answers: Questionnair) => CompilerOptions[];
|
216 | default: (answers: Questionnair) => Promise<CompilerOptions>;
|
217 | when?: undefined;
|
218 | } | {
|
219 | type: string;
|
220 | name: string;
|
221 | message: string;
|
222 | default: (answers: Questionnair) => Promise<string>;
|
223 | when: (answers: Questionnair) => false | RegExpMatchArray | null;
|
224 | choices?: undefined;
|
225 | } | {
|
226 | type: string;
|
227 | name: string;
|
228 | message: string;
|
229 | default: (answers: Questionnair) => Promise<string>;
|
230 | when: (answers: Questionnair) => boolean | undefined;
|
231 | choices?: undefined;
|
232 | } | {
|
233 | type: string;
|
234 | name: string;
|
235 | message: string;
|
236 | choices: {
|
237 | name: string;
|
238 | value: string;
|
239 | }[];
|
240 | default: string[];
|
241 | when?: undefined;
|
242 | } | {
|
243 | type: string;
|
244 | name: string;
|
245 | message: string;
|
246 | choices: (answers: Questionnair) => ({
|
247 | name: string;
|
248 | value: string;
|
249 | } | undefined)[];
|
250 | default: (answers: Questionnair) => string[];
|
251 | when?: undefined;
|
252 | } | {
|
253 | type: string;
|
254 | name: string;
|
255 | message: () => string;
|
256 | default: boolean;
|
257 | choices?: undefined;
|
258 | when?: undefined;
|
259 | })[];
|
260 | export declare const COMMUNITY_PACKAGES_WITH_TS_SUPPORT: string[];
|
261 | export declare const TESTRUNNER_DEFAULTS: Options.Definition<Options.Testrunner>;
|
262 | export declare const WORKER_GROUPLOGS_MESSAGES: {
|
263 | normalExit: (cid: string) => string;
|
264 | exitWithError: (cid: string) => string;
|
265 | };
|
266 | export {};
|
267 |
|
\ | No newline at end of file |