@wdio/cli 9.20.1 → 9.21.1

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 (2) hide show
  1. package/build/index.js +2 -2
  2. package/package.json +6 -6
package/build/index.js CHANGED
@@ -11,7 +11,7 @@ import "dotenv/config";
11
11
  import exitHook from "async-exit-hook";
12
12
  import { resolve } from "import-meta-resolve";
13
13
  import logger3 from "@wdio/logger";
14
- import { validateConfig } from "@wdio/config";
14
+ import { validateConfig, DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE } from "@wdio/config";
15
15
  import { ConfigParser as ConfigParser2 } from "@wdio/config/node";
16
16
  import { initializePlugin, initializeLauncherService, sleep, enableFileLogging } from "@wdio/utils";
17
17
  import { setupDriver, setupBrowser } from "@wdio/utils/node";
@@ -963,7 +963,7 @@ var Launcher = class {
963
963
  });
964
964
  } else {
965
965
  for (const capabilities of caps) {
966
- const availableInstances = this.isParallelMultiremote ? config3.maxInstances || 1 : config3.runner === "browser" ? 1 : capabilities["wdio:maxInstances"] || config3.maxInstancesPerCapability;
966
+ const availableInstances = this.isParallelMultiremote ? config3.maxInstances || 1 : config3.runner === "browser" ? 1 : capabilities["wdio:maxInstances"] || config3.maxInstancesPerCapability || DEFAULT_MAX_INSTANCES_PER_CAPABILITY_VALUE;
967
967
  this._schedule.push({
968
968
  cid: cid++,
969
969
  caps: capabilities,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "9.20.1",
3
+ "version": "9.21.1",
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",
@@ -40,16 +40,16 @@
40
40
  "typeScriptVersion": "3.8.3",
41
41
  "dependencies": {
42
42
  "@vitest/snapshot": "^2.1.1",
43
- "@wdio/config": "9.20.1",
43
+ "@wdio/config": "9.21.0",
44
44
  "@wdio/globals": "9.17.0",
45
45
  "@wdio/logger": "9.18.0",
46
46
  "@wdio/protocols": "9.16.2",
47
47
  "@wdio/types": "9.20.0",
48
- "@wdio/utils": "9.20.1",
48
+ "@wdio/utils": "9.21.0",
49
49
  "async-exit-hook": "^2.0.1",
50
50
  "chalk": "^5.4.1",
51
51
  "chokidar": "^4.0.0",
52
- "create-wdio": "9.18.2",
52
+ "create-wdio": "9.21.0",
53
53
  "dotenv": "^17.2.0",
54
54
  "import-meta-resolve": "^4.0.0",
55
55
  "lodash.flattendeep": "^4.4.0",
@@ -57,7 +57,7 @@
57
57
  "lodash.union": "^4.6.0",
58
58
  "read-pkg-up": "^10.0.0",
59
59
  "tsx": "^4.7.2",
60
- "webdriverio": "9.20.1",
60
+ "webdriverio": "9.21.0",
61
61
  "yargs": "^17.7.2"
62
62
  },
63
63
  "devDependencies": {
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "ac132d5e6c95ad0b9f4e92cb0090c9a60296da4c"
73
+ "gitHead": "3440650fd487eff5fe3f84b704c103e510f14677"
74
74
  }