@wdio/allure-reporter 8.12.3 → 8.14.6

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.
package/build/reporter.js CHANGED
@@ -357,7 +357,7 @@ export default class AllureReporter extends WDIOReporter {
357
357
  }
358
358
  onAfterCommand(command) {
359
359
  const { disableWebdriverStepsReporting, disableWebdriverScreenshotsReporting } = this._options;
360
- if (!this._state.currentAllureTestOrStep || this._isMultiremote) {
360
+ if (!this._state.currentStep || this._isMultiremote) {
361
361
  return;
362
362
  }
363
363
  const isScreenshot = isScreenshotCommand(command);
@@ -367,7 +367,7 @@ export default class AllureReporter extends WDIOReporter {
367
367
  }
368
368
  if (!disableWebdriverStepsReporting) {
369
369
  this.attachJSON('Response', commandResult);
370
- this._endTest(AllureStatus.PASSED);
370
+ this.endStep(AllureStatus.PASSED);
371
371
  }
372
372
  }
373
373
  onHookStart(hook) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/allure-reporter",
3
- "version": "8.12.3",
3
+ "version": "8.14.6",
4
4
  "description": "A WebdriverIO reporter plugin to create Allure Test Reports",
5
5
  "author": "Boris Osipov <osipov.boris@gmail.com>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-allure-reporter",
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@types/node": "^20.1.0",
43
- "@wdio/reporter": "8.12.2",
44
- "@wdio/types": "8.10.4",
43
+ "@wdio/reporter": "8.14.0",
44
+ "@wdio/types": "8.14.0",
45
45
  "allure-js-commons": "^2.0.0",
46
46
  "csv-stringify": "^6.0.4",
47
47
  "strip-ansi": "^7.1.0"
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "746504aa977c3cdfe5c29eb2e975352cd58db6cf"
52
+ "gitHead": "84472108356bc234e6765ba9ffd84867aea2df2a"
53
53
  }