@wdio/runner 9.23.0 → 9.23.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAc1C,OAAO,KAAK,EACoD,SAAS,EAExE,MAAM,YAAY,CAAA;AAInB,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,YAAY;;IAC5C,OAAO,CAAC,QAAQ,CAAC,CAAsD;IACvE,OAAO,CAAC,aAAa,CAAC,CAAc;IACpC,OAAO,CAAC,gBAAgB,CAAQ;IAChC,OAAO,CAAC,cAAc,CAAQ;IAC9B,OAAO,CAAC,sBAAsB,CAAI;IAElC,OAAO,CAAC,SAAS,CAAC,CAAc;IAChC,OAAO,CAAC,UAAU,CAAC,CAAe;IAClC,OAAO,CAAC,OAAO,CAAC,CAAoB;IACpC,OAAO,CAAC,IAAI,CAAC,CAAQ;IACrB,OAAO,CAAC,MAAM,CAAC,CAAU;IACzB,OAAO,CAAC,KAAK,CAAC,CAA8F;IAC5G,OAAO,CAAC,iBAAiB,CAAC,CAAO;IAEjC;;;;;;;;;OASG;IACG,GAAG,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,SAAS;IAkOpE;;;;;;OAMG;YACW,YAAY;IAoC1B;;;;;OAKG;YACW,aAAa;IA0E3B;;OAEG;YACW,SAAS;IAoCvB;;;OAGG;IACG,UAAU,CAAC,OAAO,CAAC,EAAE,GAAG;CAwEjC;AAED,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,eAAe,CAAA;AACvD,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAc1C,OAAO,KAAK,EACoD,SAAS,EAExE,MAAM,YAAY,CAAA;AAInB,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,YAAY;;IAC5C,OAAO,CAAC,QAAQ,CAAC,CAAsD;IACvE,OAAO,CAAC,aAAa,CAAC,CAAc;IACpC,OAAO,CAAC,gBAAgB,CAAQ;IAChC,OAAO,CAAC,cAAc,CAAQ;IAC9B,OAAO,CAAC,sBAAsB,CAAI;IAElC,OAAO,CAAC,SAAS,CAAC,CAAc;IAChC,OAAO,CAAC,UAAU,CAAC,CAAe;IAClC,OAAO,CAAC,OAAO,CAAC,CAAoB;IACpC,OAAO,CAAC,IAAI,CAAC,CAAQ;IACrB,OAAO,CAAC,MAAM,CAAC,CAAU;IACzB,OAAO,CAAC,KAAK,CAAC,CAA8F;IAC5G,OAAO,CAAC,iBAAiB,CAAC,CAAO;IAEjC;;;;;;;;;OASG;IACG,GAAG,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,SAAS;IAmOpE;;;;;;OAMG;YACW,YAAY;IAoC1B;;;;;OAKG;YACW,aAAa;IA0E3B;;OAEG;YACW,SAAS;IAoCvB;;;OAGG;IACG,UAAU,CAAC,OAAO,CAAC,EAAE,GAAG;CAwEjC;AAED,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,eAAe,CAAA;AACvD,cAAc,YAAY,CAAA"}
package/build/index.js CHANGED
@@ -653,7 +653,6 @@ var Runner = class extends EventEmitter {
653
653
  return this._shutdown(1, retries, true);
654
654
  }
655
655
  this._config = this._configParser.getConfig();
656
- this._specFileRetryAttempts = (this._config.specFileRetries || 0) - (retries || 0);
657
656
  logger4.setLogLevelsConfig(this._config.logLevels, this._config.logLevel);
658
657
  if (this._config.maskingPatterns) {
659
658
  logger4.setMaskingPatterns(this._config.maskingPatterns);
@@ -693,6 +692,7 @@ var Runner = class extends EventEmitter {
693
692
  )).map(this._configParser.addService.bind(this._configParser));
694
693
  const beforeSessionParams = [this._config, this._caps, this._specs, this._cid];
695
694
  await executeHooksWithArgs2("beforeSession", this._config.beforeSession, beforeSessionParams);
695
+ this._specFileRetryAttempts = (this._config.specFileRetries || 0) - (retries || 0);
696
696
  this._reporter = new BaseReporter(this._config, this._cid, { ...this._caps });
697
697
  await this._reporter.initReporters();
698
698
  this._framework = await this.#initFramework(cid, this._config, this._caps, this._reporter, specs);
@@ -740,6 +740,7 @@ var Runner = class extends EventEmitter {
740
740
  process.send({
741
741
  origin: "worker",
742
742
  name: "sessionStarted",
743
+ specFileRetries: this._specFileRetryAttempts,
743
744
  content: {
744
745
  automationProtocol,
745
746
  sessionId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/runner",
3
- "version": "9.23.0",
3
+ "version": "9.23.2",
4
4
  "description": "A WebdriverIO service that runs tests in arbitrary environments",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-runner",
@@ -32,15 +32,15 @@
32
32
  "typeScriptVersion": "3.8.3",
33
33
  "dependencies": {
34
34
  "@types/node": "^20.11.28",
35
- "@wdio/config": "9.23.0",
36
- "@wdio/dot-reporter": "9.20.0",
35
+ "@wdio/config": "9.23.2",
36
+ "@wdio/dot-reporter": "9.23.2",
37
37
  "@wdio/globals": "9.23.0",
38
38
  "@wdio/logger": "9.18.0",
39
- "@wdio/types": "9.20.0",
40
- "@wdio/utils": "9.23.0",
39
+ "@wdio/types": "9.23.2",
40
+ "@wdio/utils": "9.23.2",
41
41
  "deepmerge-ts": "^7.0.3",
42
- "webdriver": "9.23.0",
43
- "webdriverio": "9.23.0"
42
+ "webdriver": "9.23.2",
43
+ "webdriverio": "9.23.2"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "expect-webdriverio": "^5.3.4",
@@ -57,5 +57,5 @@
57
57
  "publishConfig": {
58
58
  "access": "public"
59
59
  },
60
- "gitHead": "5b35e4e2b94e3ac5247ec2bf27f2f5e41ef00372"
60
+ "gitHead": "3447f2744e52b367ad1164ff6a920924d830e4ee"
61
61
  }