allure-cucumber-js - Cannot read property 'sourceLocation' of undefined when running with --parallel
See original GitHub issueI’m submitting a …
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Allure-cucumberjs is used as a reporter for cucumber-js test framework.
When I run tests using --parallel
flag, test runner throws error:
TypeError: Cannot read property 'sourceLocation' of undefined
at AllureReporter.onTestStepStarted (.../node_modules/allure-cucumberjs/src/CucumberJSAllureReporter.ts:192:18)
at EventEmitter.emit (events.js:189:13)
at Master.parseSlaveMessage (.../node_modules/cucumber/lib/runtime/parallel/master.js:55:31)
at ChildProcess.slave.process.on.message (.../node_modules/cucumber/lib/runtime/parallel/master.js:83:12)
at ChildProcess.emit (events.js:189:13)
at emit (internal/child_process.js:820:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Please tell us about your environment:
Allure version | |
---|---|
Test framework | “cucumber”: “^6.0.5” |
Allure adaptor | allure-cucumberjs": “^2.0.0-beta.6” |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7
Top Results From Across the Web
WebdriverIO:cucumber setup shows error "Cannot read ...
... shows error "Cannot read property length of undefined" when running tests ... and an example at the webdriverIO website which I'm trying...
Read more >Avoiding those dang cannot read property of undefined errors
Uncaught TypeError : Cannot read property 'foo' of undefined. The dreaded error we all hit at some point in JavaScript development.
Read more >cannot read properties of undefined (reading 'split') mongoose
The cypress was able to run successfully with the corrected error. What are the versions of Node.js, Mongoose and MongoDB you are using?...
Read more >TypeError: "x" has no properties - JavaScript - MDN Web Docs
TypeError : Cannot read properties of undefined (reading 'x') (V8-based) TypeError: null has no properties (Firefox) TypeError: undefined has ...
Read more >The allure-js from allure-framework - Coder Social
Running tests using mocha 8 parallel feature with enabled allure-mocha ... allure-cucumber-js - Cannot read property 'sourceLocation' of undefined when ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The same error I have
Should be fixed in the last release. Feel free to reopen the issue, if it still doesn’t work for you.