@wdio/cli 9.0.0 → 9.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/build/commands/config.d.ts.map +1 -1
  2. package/build/index.js +5 -3
  3. package/build/templates/exampleFiles/browser/Component.css.ejs +121 -0
  4. package/build/templates/exampleFiles/browser/Component.lit.ejs +154 -0
  5. package/build/templates/exampleFiles/browser/Component.lit.test.ejs +24 -0
  6. package/build/templates/exampleFiles/browser/Component.preact.ejs +28 -0
  7. package/build/templates/exampleFiles/browser/Component.preact.test.ejs +59 -0
  8. package/build/templates/exampleFiles/browser/Component.react.ejs +29 -0
  9. package/build/templates/exampleFiles/browser/Component.react.test.ejs +58 -0
  10. package/build/templates/exampleFiles/browser/Component.solid.ejs +28 -0
  11. package/build/templates/exampleFiles/browser/Component.solid.test.ejs +58 -0
  12. package/build/templates/exampleFiles/browser/Component.stencil.ejs +43 -0
  13. package/build/templates/exampleFiles/browser/Component.stencil.test.ejs +45 -0
  14. package/build/templates/exampleFiles/browser/Component.svelte.ejs +47 -0
  15. package/build/templates/exampleFiles/browser/Component.svelte.test.ejs +58 -0
  16. package/build/templates/exampleFiles/browser/Component.vue.ejs +34 -0
  17. package/build/templates/exampleFiles/browser/Component.vue.test.ejs +62 -0
  18. package/build/templates/exampleFiles/browser/standalone.test.ejs +13 -0
  19. package/build/templates/exampleFiles/cucumber/step_definitions/steps.js.ejs +55 -0
  20. package/build/templates/exampleFiles/mochaJasmine/test.e2e.js.ejs +11 -0
  21. package/build/templates/exampleFiles/pageobjects/login.page.js.ejs +45 -0
  22. package/build/templates/exampleFiles/pageobjects/page.js.ejs +17 -0
  23. package/build/templates/exampleFiles/pageobjects/secure.page.js.ejs +20 -0
  24. package/build/templates/exampleFiles/serenity-js/common/config/serenity.properties.ejs +1 -0
  25. package/build/templates/exampleFiles/serenity-js/common/serenity/github-api/GitHubStatus.ts.ejs +41 -0
  26. package/build/templates/exampleFiles/serenity-js/common/serenity/todo-list-app/TodoList.ts.ejs +100 -0
  27. package/build/templates/exampleFiles/serenity-js/common/serenity/todo-list-app/TodoListItem.ts.ejs +36 -0
  28. package/build/templates/exampleFiles/serenity-js/cucumber/step-definitions/steps.ts.ejs +37 -0
  29. package/build/templates/exampleFiles/serenity-js/cucumber/support/parameter.config.ts.ejs +18 -0
  30. package/build/templates/exampleFiles/serenity-js/cucumber/todo-list/completing_items.feature.ejs +23 -0
  31. package/build/templates/exampleFiles/serenity-js/cucumber/todo-list/narrative.md.ejs +17 -0
  32. package/build/templates/exampleFiles/serenity-js/jasmine/example.spec.ts.ejs +86 -0
  33. package/build/templates/exampleFiles/serenity-js/mocha/example.spec.ts.ejs +88 -0
  34. package/build/templates/snippets/afterTest.ejs +20 -0
  35. package/build/templates/snippets/capabilities.ejs +57 -0
  36. package/build/templates/snippets/cucumber.ejs +50 -0
  37. package/build/templates/snippets/electronTest.js.ejs +7 -0
  38. package/build/templates/snippets/jasmine.ejs +20 -0
  39. package/build/templates/snippets/macosTest.js.ejs +11 -0
  40. package/build/templates/snippets/mocha.ejs +14 -0
  41. package/build/templates/snippets/reporters.ejs +14 -0
  42. package/build/templates/snippets/serenity.ejs +18 -0
  43. package/build/templates/snippets/services.ejs +18 -0
  44. package/build/templates/snippets/testWithPO.js.ejs +22 -0
  45. package/build/templates/snippets/testWithoutPO.js.ejs +19 -0
  46. package/build/templates/snippets/vscodeTest.js.ejs +9 -0
  47. package/build/templates/wdio.conf.tpl.ejs +416 -0
  48. package/build/utils.d.ts.map +1 -1
  49. package/package.json +4 -4
@@ -0,0 +1,416 @@
1
+ <%
2
+ if (answers.isUsingTypeScript && answers.purpose === 'electron') {
3
+ %>/// <reference types="wdio-electron-service" />
4
+ <% }
5
+
6
+ if (answers.isUsingTypeScript && !answers.serenityAdapter) {
7
+ %>import type { Options } from '@wdio/types'
8
+ <% }
9
+
10
+ if (answers.isUsingTypeScript && answers.serenityAdapter) {
11
+ %>import type { WebdriverIOConfig } from '@serenity-js/webdriverio'
12
+ <% }
13
+
14
+ if (answers.isUsingTypeScript) {
15
+ %>export const config: <%= answers.serenityAdapter ? 'WebdriverIOConfig' : 'Options.Testrunner' %> = {<%
16
+ } else if (answers.esmSupport) {
17
+ %>export const config = {<%
18
+ } else {
19
+ %>exports.config = {<%
20
+ } %>
21
+ //
22
+ // ====================
23
+ // Runner Configuration
24
+ // ====================
25
+ // WebdriverIO supports running e2e tests as well as unit and component tests.
26
+ runner: <%
27
+ if (answers.runner === 'browser') {
28
+ if (answers.preset) {
29
+ %>['browser', {
30
+ preset: '<%- answers.preset %>',
31
+ // start browser window when `DEBUG` environment variable is set
32
+ headless: !Boolean(process.env.DEBUG)
33
+ }]<%
34
+ } else {
35
+ %>'browser'<%
36
+ }
37
+ } else {
38
+ %>'local'<%
39
+ }
40
+ %>,<%
41
+ if (answers.isUsingTypeScript) { %>
42
+ tsConfigPath: '<%- answers.tsProject %>',
43
+ <% }
44
+ if(answers.expEnvAccessKey){ %>
45
+ hostname: '<%- answers.expEnvHostname %>',
46
+ <% if (answers.expEnvPort === '443'){%>protocol: 'https',
47
+ <%} else if (answers.expEnvPort === '80'){%>protocol: 'http',
48
+ <%} else { %>protocol: '<%- answers.expEnvProtocol %>',<%}%>
49
+ port: <%- answers.expEnvPort %>,
50
+ path: '/wd/hub',
51
+ <% } else if(answers.hostname && answers.port) { %>//
52
+ // =====================
53
+ // Server Configurations
54
+ // =====================
55
+ // Host address of the running Selenium server. This information is usually obsolete as
56
+ // WebdriverIO automatically connects to localhost. Also, if you are using one of the
57
+ // supported cloud services like Sauce Labs, Browserstack, Testing Bot or LambdaTest you don't
58
+ // need to define host and port information because WebdriverIO can figure that out
59
+ // according to your user and key information. However, if you are using a private Selenium
60
+ // backend you should define the host address, port, and path here.
61
+ //
62
+ hostname: '<%- answers.hostname %>',
63
+ port: <%- answers.port %>,
64
+ path: '<%- answers.path %>',<% } else if (answers.services.includes('appium')) { %>
65
+ port: 4723,<% }
66
+
67
+ // Protocol: http | https
68
+ // protocol: 'http',
69
+ if(answers.env_user && answers.env_key) { %>
70
+ //
71
+ // =================
72
+ // Service Providers
73
+ // =================
74
+ // WebdriverIO supports Sauce Labs, Browserstack, Testing Bot and LambdaTest (other cloud providers
75
+ // should work too though). These services define specific user and key (or access key)
76
+ // values you need to put in here in order to connect to these services.
77
+ //
78
+ user: process.env.<%- answers.env_user %>,
79
+ key: process.env.<%- answers.env_key %>,
80
+ //
81
+ // If you run your tests on Sauce Labs you can specify the region you want to run your tests
82
+ // in via the `region` property. Available short handles for regions are `us` (default), `eu` and `apac`.
83
+ // These regions are used for the Sauce Labs VM cloud and the Sauce Labs Real Device Cloud.
84
+ // If you don't provide the region it will default for the `us`
85
+ <% }
86
+ if(answers.headless) { %>headless: true,<% }
87
+ if(answers.region) { %>region: '<%- answers.region %>',<% } %>
88
+ //
89
+ // ==================
90
+ // Specify Test Files
91
+ // ==================
92
+ // Define which test specs should run. The pattern is relative to the directory
93
+ // of the configuration file being run.
94
+ //
95
+ // The specs are defined as an array of spec files (optionally using wildcards
96
+ // that will be expanded). The test for each spec file will be run in a separate
97
+ // worker process. In order to have a group of spec files run in the same worker
98
+ // process simply enclose them in an array within the specs array.
99
+ //
100
+ // The path of the spec files will be resolved relative from the directory of
101
+ // of the config file unless it's absolute.
102
+ //
103
+ specs: [
104
+ <%- answers.specs ? `'${answers.specs}'` : '// ToDo: define location for spec files here' %>
105
+ ],
106
+ // Patterns to exclude.
107
+ exclude: [
108
+ // 'path/to/excluded/files'
109
+ ],
110
+ //
111
+ // ============
112
+ // Capabilities
113
+ // ============
114
+ // Define your capabilities here. WebdriverIO can run multiple capabilities at the same
115
+ // time. Depending on the number of capabilities, WebdriverIO launches several test
116
+ // sessions. Within your capabilities you can overwrite the spec and exclude options in
117
+ // order to group specific specs to a specific capability.
118
+ //
119
+ // First, you can define how many instances should be started at the same time. Let's
120
+ // say you have 3 different capabilities (Chrome, Firefox, and Safari) and you have
121
+ // set maxInstances to 1; wdio will spawn 3 processes. Therefore, if you have 10 spec
122
+ // files and you set maxInstances to 10, all spec files will get tested at the same time
123
+ // and 30 processes will get spawned. The property handles how many capabilities
124
+ // from the same test should run tests.
125
+ //
126
+ maxInstances: 10,
127
+ //
128
+ // If you have trouble getting all important capabilities together, check out the
129
+ // Sauce Labs platform configurator - a great tool to configure your capabilities:
130
+ // https://saucelabs.com/platform/platform-configurator
131
+ //
132
+ <%- include('snippets/capabilities', { answers }) %>
133
+ //
134
+ // ===================
135
+ // Test Configurations
136
+ // ===================
137
+ // Define all options that are relevant for the WebdriverIO instance here
138
+ //
139
+ // Level of logging verbosity: trace | debug | info | warn | error | silent
140
+ logLevel: 'info',
141
+ //
142
+ // Set specific log levels per logger
143
+ // loggers:
144
+ // - webdriver, webdriverio
145
+ // - @wdio/browserstack-service, @wdio/lighthouse-service, @wdio/sauce-service
146
+ // - @wdio/mocha-framework, @wdio/jasmine-framework
147
+ // - @wdio/local-runner
148
+ // - @wdio/sumologic-reporter
149
+ // - @wdio/cli, @wdio/config, @wdio/utils
150
+ // Level of logging verbosity: trace | debug | info | warn | error | silent
151
+ // logLevels: {
152
+ // webdriver: 'info',
153
+ // '@wdio/appium-service': 'info'
154
+ // },
155
+ //
156
+ // If you only want to run your tests until a specific amount of tests have failed use
157
+ // bail (default is 0 - don't bail, run all tests).
158
+ bail: 0,
159
+ //
160
+ // Set a base URL in order to shorten url command calls. If your `url` parameter starts
161
+ // with `/`, the base url gets prepended, not including the path portion of your baseUrl.
162
+ // If your `url` parameter starts without a scheme or `/` (like `some/path`), the base url
163
+ // gets prepended directly.
164
+ // baseUrl: 'http://localhost:8080',
165
+ //
166
+ // Default timeout for all waitFor* commands.
167
+ waitforTimeout: 10000,
168
+ //
169
+ // Default timeout in milliseconds for request
170
+ // if browser driver or grid doesn't send response
171
+ connectionRetryTimeout: 120000,
172
+ //
173
+ // Default request retries count
174
+ connectionRetryCount: 3,
175
+ //
176
+ // Test runner services
177
+ // Services take over a specific job you don't want to take care of. They enhance
178
+ // your test setup with almost no effort. Unlike plugins, they don't add new
179
+ // commands. Instead, they hook themselves up into the test process.
180
+ <% if(answers.services.length) {
181
+ %><%- include('snippets/services', { answers }) %><%
182
+ } else {
183
+ %>// services: [],
184
+ //<% } %>
185
+ // Framework you want to run your specs with.
186
+ // The following are supported: Mocha, Jasmine, and Cucumber
187
+ // see also: https://webdriver.io/docs/frameworks
188
+ //
189
+ // Make sure you have the wdio adapter package for the specific framework installed
190
+ // before running any tests.
191
+ framework: '<%- answers.framework %>',
192
+ <%- answers.framework === '@serenity-js/webdriverio' ? include('snippets/serenity', { answers }) : '' %>
193
+ //
194
+ // The number of times to retry the entire specfile when it fails as a whole
195
+ // specFileRetries: 1,
196
+ //
197
+ // Delay in seconds between the spec file retry attempts
198
+ // specFileRetriesDelay: 0,
199
+ //
200
+ // Whether or not retried spec files should be retried immediately or deferred to the end of the queue
201
+ // specFileRetriesDeferred: false,
202
+ //
203
+ <%- include('snippets/reporters', { reporters: answers.reporters })
204
+ %><%- _.if([ answers.serenityAdapter, answers.framework ].includes('mocha'), include('snippets/mocha', { answers }))
205
+ %><%- _.if([ answers.serenityAdapter, answers.framework ].includes('jasmine'), include('snippets/jasmine', { answers }))
206
+ %><%- _.if([ answers.serenityAdapter, answers.framework ].includes('cucumber'), include('snippets/cucumber', { answers }))
207
+ %>
208
+ //
209
+ // =====
210
+ // Hooks
211
+ // =====
212
+ // WebdriverIO provides several hooks you can use to interfere with the test process in order to enhance
213
+ // it and to build services around it. You can either apply a single function or an array of
214
+ // methods to it. If one of them returns with a promise, WebdriverIO will wait until that promise got
215
+ // resolved to continue.
216
+ /**
217
+ * Gets executed once before all workers get launched.
218
+ * @param {object} config wdio configuration object
219
+ * @param {Array.<Object>} capabilities list of capabilities details
220
+ */
221
+ // onPrepare: function (config, capabilities) {
222
+ // },
223
+ /**
224
+ * Gets executed before a worker process is spawned and can be used to initialize specific service
225
+ * for that worker as well as modify runtime environments in an async fashion.
226
+ * @param {string} cid capability id (e.g 0-0)
227
+ * @param {object} caps object containing capabilities for session that will be spawn in the worker
228
+ * @param {object} specs specs to be run in the worker process
229
+ * @param {object} args object that will be merged with the main configuration once worker is initialized
230
+ * @param {object} execArgv list of string arguments passed to the worker process
231
+ */
232
+ // onWorkerStart: function (cid, caps, specs, args, execArgv) {
233
+ // },
234
+ /**
235
+ * Gets executed just after a worker process has exited.
236
+ * @param {string} cid capability id (e.g 0-0)
237
+ * @param {number} exitCode 0 - success, 1 - fail
238
+ * @param {object} specs specs to be run in the worker process
239
+ * @param {number} retries number of retries used
240
+ */
241
+ // onWorkerEnd: function (cid, exitCode, specs, retries) {
242
+ // },
243
+ /**
244
+ * Gets executed just before initialising the webdriver session and test framework. It allows you
245
+ * to manipulate configurations depending on the capability or spec.
246
+ * @param {object} config wdio configuration object
247
+ * @param {Array.<Object>} capabilities list of capabilities details
248
+ * @param {Array.<String>} specs List of spec file paths that are to be run
249
+ * @param {string} cid worker id (e.g. 0-0)
250
+ */
251
+ // beforeSession: function (config, capabilities, specs, cid) {
252
+ // },
253
+ /**
254
+ * Gets executed before test execution begins. At this point you can access to all global
255
+ * variables like `browser`. It is the perfect place to define custom commands.
256
+ * @param {Array.<Object>} capabilities list of capabilities details
257
+ * @param {Array.<String>} specs List of spec file paths that are to be run
258
+ * @param {object} browser instance of created browser/device session
259
+ */
260
+ // before: function (capabilities, specs) {
261
+ // },
262
+ /**
263
+ * Runs before a WebdriverIO command gets executed.
264
+ * @param {string} commandName hook command name
265
+ * @param {Array} args arguments that command would receive
266
+ */
267
+ // beforeCommand: function (commandName, args) {
268
+ // },<%
269
+ if(answers.framework === 'mocha' || answers.framework === 'jasmine') { %>
270
+ /**
271
+ * Hook that gets executed before the suite starts
272
+ * @param {object} suite suite details
273
+ */
274
+ // beforeSuite: function (suite) {
275
+ // },
276
+ /**
277
+ * Function to be executed before a test (in Mocha/Jasmine) starts.
278
+ */
279
+ // beforeTest: function (test, context) {
280
+ // },
281
+ /**
282
+ * Hook that gets executed _before_ a hook within the suite starts (e.g. runs before calling
283
+ * beforeEach in Mocha)
284
+ */
285
+ // beforeHook: function (test, context, hookName) {
286
+ // },
287
+ /**
288
+ * Hook that gets executed _after_ a hook within the suite starts (e.g. runs after calling
289
+ * afterEach in Mocha)
290
+ */
291
+ // afterHook: function (test, context, { error, result, duration, passed, retries }, hookName) {
292
+ // },
293
+ <%- include('snippets/afterTest', { reporters: answers.reporters }) %>
294
+ /**
295
+ * Hook that gets executed after the suite has ended
296
+ * @param {object} suite suite details
297
+ */
298
+ // afterSuite: function (suite) {
299
+ // },<% }
300
+ if(answers.framework === 'cucumber') { %>
301
+ /**
302
+ * Cucumber Hooks
303
+ *
304
+ * Runs before a Cucumber Feature.
305
+ * @param {string} uri path to feature file
306
+ * @param {GherkinDocument.IFeature} feature Cucumber feature object
307
+ */
308
+ // beforeFeature: function (uri, feature) {
309
+ // },
310
+ /**
311
+ *
312
+ * Runs before a Cucumber Scenario.
313
+ * @param {ITestCaseHookParameter} world world object containing information on pickle and test step
314
+ * @param {object} context Cucumber World object
315
+ */
316
+ // beforeScenario: function (world, context) {
317
+ // },
318
+ /**
319
+ *
320
+ * Runs before a Cucumber Step.
321
+ * @param {Pickle.IPickleStep} step step data
322
+ * @param {IPickle} scenario scenario pickle
323
+ * @param {object} context Cucumber World object
324
+ */
325
+ // beforeStep: function (step, scenario, context) {
326
+ // },
327
+ /**
328
+ *
329
+ * Runs after a Cucumber Step.
330
+ * @param {Pickle.IPickleStep} step step data
331
+ * @param {IPickle} scenario scenario pickle
332
+ * @param {object} result results object containing scenario results
333
+ * @param {boolean} result.passed true if scenario has passed
334
+ * @param {string} result.error error stack if scenario failed
335
+ * @param {number} result.duration duration of scenario in milliseconds
336
+ * @param {object} context Cucumber World object
337
+ */
338
+ // afterStep: function (step, scenario, result, context) {
339
+ // },
340
+ /**
341
+ *
342
+ * Runs after a Cucumber Scenario.
343
+ * @param {ITestCaseHookParameter} world world object containing information on pickle and test step
344
+ * @param {object} result results object containing scenario results
345
+ * @param {boolean} result.passed true if scenario has passed
346
+ * @param {string} result.error error stack if scenario failed
347
+ * @param {number} result.duration duration of scenario in milliseconds
348
+ * @param {object} context Cucumber World object
349
+ */
350
+ // afterScenario: function (world, result, context) {
351
+ // },
352
+ /**
353
+ *
354
+ * Runs after a Cucumber Feature.
355
+ * @param {string} uri path to feature file
356
+ * @param {GherkinDocument.IFeature} feature Cucumber feature object
357
+ */
358
+ // afterFeature: function (uri, feature) {
359
+ // },
360
+ <% } %>
361
+ /**
362
+ * Runs after a WebdriverIO command gets executed
363
+ * @param {string} commandName hook command name
364
+ * @param {Array} args arguments that command would receive
365
+ * @param {number} result 0 - command success, 1 - command error
366
+ * @param {object} error error object if any
367
+ */
368
+ // afterCommand: function (commandName, args, result, error) {
369
+ // },
370
+ /**
371
+ * Gets executed after all tests are done. You still have access to all global variables from
372
+ * the test.
373
+ * @param {number} result 0 - test pass, 1 - test fail
374
+ * @param {Array.<Object>} capabilities list of capabilities details
375
+ * @param {Array.<String>} specs List of spec file paths that ran
376
+ */
377
+ // after: function (result, capabilities, specs) {
378
+ // },
379
+ /**
380
+ * Gets executed right after terminating the webdriver session.
381
+ * @param {object} config wdio configuration object
382
+ * @param {Array.<Object>} capabilities list of capabilities details
383
+ * @param {Array.<String>} specs List of spec file paths that ran
384
+ */
385
+ // afterSession: function (config, capabilities, specs) {
386
+ // },
387
+ /**
388
+ * Gets executed after all workers got shut down and the process is about to exit. An error
389
+ * thrown in the onComplete hook will result in the test run failing.
390
+ * @param {object} exitCode 0 - success, 1 - fail
391
+ * @param {object} config wdio configuration object
392
+ * @param {Array.<Object>} capabilities list of capabilities details
393
+ * @param {<Object>} results object containing test results
394
+ */
395
+ // onComplete: function(exitCode, config, capabilities, results) {
396
+ // },
397
+ /**
398
+ * Gets executed when a refresh happens.
399
+ * @param {string} oldSessionId session ID of the old session
400
+ * @param {string} newSessionId session ID of the new session
401
+ */
402
+ // onReload: function(oldSessionId, newSessionId) {
403
+ // }
404
+ /**
405
+ * Hook that gets executed before a WebdriverIO assertion happens.
406
+ * @param {object} params information about the assertion to be executed
407
+ */
408
+ // beforeAssertion: function(params) {
409
+ // }
410
+ /**
411
+ * Hook that gets executed after a WebdriverIO assertion happened.
412
+ * @param {object} params information about the assertion that was executed, including its results
413
+ */
414
+ // afterAssertion: function(params) {
415
+ // }
416
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAYtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAGhD,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAclE,OAAO,KAAK,EACR,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EACnB,MAAM,YAAY,CAAA;AASnB,eAAO,MAAM,UAAU,EAAgC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;AAEnH,qBAAa,SAAU,SAAQ,kBAAkB;IACtC,MAAM,EAAE,MAAM,CAAA;gBACT,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAI9C;AAED;;GAEG;AACH,wBAAsB,cAAc,CAChC,QAAQ,EAAE,QAAQ,CAAC,eAAe,EAAE,EACpC,QAAQ,EAAE,MAAM,QAAQ,CAAC,aAAa,EACtC,GAAG,IAAI,EAAE,GAAG,EAAE,sBA2BjB;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,yBAmBhF;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACnC,cAAc,EAAE,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iBAehF;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,aAAa,EAAE,aAAa,8BAgCnE;AAMD,wBAAsB,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,iBA+F5E;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,WAAe,mCASvD;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,aAAa,EAAE,aAAa,iBA8GjE;AAOD,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,aAAa,iBAmBlE;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAE,aAAa,CAAC,EAAE,YAAY,mBASjE;AAED,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,aAAa,oBAoClE;AAED,wBAAsB,kBAAkB,CAAC,aAAa,EAAE,aAAa;;IAqBpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "9.0.0",
3
+ "version": "9.0.3",
4
4
  "description": "WebdriverIO testrunner command line interface",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
@@ -42,7 +42,7 @@
42
42
  "@types/node": "^20.1.1",
43
43
  "@vitest/snapshot": "^1.2.1",
44
44
  "@wdio/config": "9.0.0",
45
- "@wdio/globals": "9.0.0",
45
+ "@wdio/globals": "9.0.1",
46
46
  "@wdio/logger": "9.0.0",
47
47
  "@wdio/protocols": "9.0.0",
48
48
  "@wdio/types": "9.0.0",
@@ -62,7 +62,7 @@
62
62
  "read-pkg-up": "^10.0.0",
63
63
  "recursive-readdir": "^2.2.3",
64
64
  "tsx": "^4.7.2",
65
- "webdriverio": "9.0.0",
65
+ "webdriverio": "9.0.1",
66
66
  "yargs": "^17.7.2"
67
67
  },
68
68
  "devDependencies": {
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "957693463371a4cb329395dcdbce8fb0c930ab93"
81
+ "gitHead": "e59369c4d66ad87d37e5df5a4770a3438ddf9eb8"
82
82
  }