'Failed launching test session: TypeError: Cannot read property 'testRailsOptions' of undefined

How to solve this issue? Any help would be highly appericated

Unable to get TestrailO

Execution of 1 workers started at 2022-03-11T13:11:51.503Z

2022-03-11T13:11:51.550Z INFO @wdio/cli:launcher: Run onPrepare hook 2022-03-11T13:12:22.346Z INFO @wdio/cli:launcher: Run onWorkerStart hook 2022-03-11T13:12:22.348Z INFO @wdio/local-runner: Start worker 0-0 with arg: ./conf/wdio.conf.ts [0-0] 2022-03-11T13:12:22.687Z INFO @wdio/local-runner: Run worker command: run [0-0] 2022-03-11T13:12:23.180Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot read property 'testRailsOptions' of undefined [0-0] at new WdioTestRailReporter (/home/pipul/Pictures/wdio-testing/node_modules/wdio-testrail-reporter/lib/wdio-testrail-reporter.js:14:32) [0-0] at BaseReporter.initReporter (/home/pipul/Pictures/wdio-testing/node_modules/@wdio/runner/build/reporter.js:135:20) [0-0] at Array.map () [0-0] at new BaseReporter (/home/pipul/Pictures/wdio-testing/node_modules/@wdio/runner/build/reporter.js:22:50) [0-0] at Runner.run (/home/pipul/Pictures/wdio-testing/node_modules/@wdio/runner/build/index.js:78:26) [0-0] at processTicksAndRejections (node:internal/process/task_queues:96:5) [0-0] FAILED 2022-03-11T13:12:23.205Z INFO @wdio/cli:launcher: Run onComplete hook 2022-03-11T13:12:23.206Z INFO @wdio/selenium-standalone-service: shutting down all browsers Merger REsult

Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:31

2022-03-11T13:12:23.208Z INFO @wdio/local-runner: Shutting down spawned worker 2022-03-11T13:12:23.459Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully 2022-03-11T13:12:23.460Z INFO @wdio/local-runner: shutting down



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source