-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Gherkin reporter throwing Exception "Cannot read property 'concat' of undefined" #89
Comments
Hi @kabomi Could you show me your Feature file too? Maybe there's something there. Meanwhile you can use |
The new version I just released will fix the issue, but you will have no information about the type of step because the gherkin compiler returns undefined, so I'm keeping this ticket open to investigate that |
sometimes no keyword is provided, this should not make the reporter crash re #89
Forgot to add the fix to all the reporters, so version 5.4.2 it is |
Indeed, will fix that in next version |
Hi @Arthy000,
I'm trying to use your new reporters and I'm not able to make them to work.
It looks like this line is failing across several report files (e.g. gtc-reporter-list.js:75):
As you can see on the Screenshot, I'm printing the content of meta. It is supposed to have steps with a property 'type' with either of the keys contained here:
{ Context: 'Given ', Action: 'When ', Outcome: 'Then ' }
. But I'm gettingundefined
This is how it looks my step code:
package.json relevant dependencies:
"@cucumber/cucumber-expressions": "^15.2.0",
"@cucumber/cucumber": "8.2.2",
"testcafe": "~1.19.0"
"testcafe-reporter-cucumber-json": "6.3.0",
Command that I'm executing:
gherkin-testcafe chrome e2e/**/*.steps.ts e2e/features/**/*.feature --debug-on-fail -r gtc-reporter-list,cucumber-json:.cucumber-stdout-ignore --config-file .testcaferc.local.json --tags @List,@Details,@Filter,@Create,@Edit,@Error,@Translation
I've tried to use only one reporter (via command line -r gtc-reporter-list) but same error dropped.
I've also tried to use the standard reporter (no command line -r argument) but same error dropped.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: