Forum Discussion
2 Replies
- osmolyarNew Contributor
Amrit13 , can you please post the content of your cucumber json report? If you are using wdio-cucumberjs-json-reporter, the issue could be output like the below in the json report, which records an "element" the feature corresponding to the feature itself (keyword: Scenario, type: feature), and has an empty steps: [] array. The Zephyr scale https://usjira.iscinternal.com/rest/atm/1.0/automation/execution/cucumber api doesn't support empty steps arrays.
The latest wdio-cucumber-js-json reporter has been fixed so you can download the latest version 4.1.4 and try again (https://github.com/webdriverio-community/wdio-cucumberjs-json-reporter/issues/68)
"tags": [],
"elements": [
{
"keyword": "Scenario",
"type": "feature",
"description": "",
"name": "PAYS - Russia - telecommandes header-main-menu - CTA",
"tags": [],
"id": "pays---russia---telecommandes-header-main-menu---cta;pays---russia---telecommandes-header-main-menu---cta",
"steps": []
},- deadpooldevNew Contributor
I am facing the same error. Even my Steps array is not empty still getting the 500 error.
Related Content
Recent Discussions
- 3 days ago
- 5 days ago