BorisOsipov / wdio-reportportal-service

Service for https://github.com/BorisOsipov/wdio-reportportal-reporter
MIT License
4 stars 4 forks source link

the plugin isn't updated to wdio 8 #45

Open HananArgov opened 1 year ago

HananArgov commented 1 year ago

The problem

the plugin isn't updated to wdio 8 - when running the plugin, i've encountered several issues:

  1. it uses require instead of import
  2. there's an error when running the plugin:
    TypeError: Cannot read properties of undefined (reading 'reporterName')
    at ................./node_modules/wdio-reportportal-service/src/index.js:60:72
    at Array.filter (<anonymous>)
    at Function.getRpReporterConfig (.............../node_modules/wdio-reportportal-service/src/index.js:60:40)
    at RpService.onPrepare (.............../node_modules/wdio-reportportal-service/src/index.js:17:48)
    at file:///......................../node_modules/@wdio/cli/build/utils.js:43:40
    at Array.map (<anonymous>)
    at runServiceHook (file:///......../node_modules/@wdio/cli/build/utils.js:40:33)
    at Launcher.run (file:///......../node_modules/@wdio/cli/build/launcher.js:82:19)

Environment