Open ArthurGlacetAdeo opened 5 months ago
@ArthurGlacetAdeo It seems to work if you have the following set "@cucumber/cucumber": "^9.5.1", But doesn't work if you set it to this. "@cucumber/cucumber": "^10.5.1",
Thank you! it's know working !!!
other question: do you know if i can set the world parameter of the run ? i used to launch my campaign with : cucumber-js --world-parameters "{\"context\":\"fr-uat\"}"
@ArthurGlacetAdeo
I don't use the world-parameters but could you try this?
My cucumber.js file looks like this for profiles. Could you add in Worldparameters as part of the default as below?
const common = { parallel: 2, retry: 0, format: ['./teamcity-cucumber-formatter', 'html:cucumber-report.html', 'json:reports/report.json', ], require: ['features/support/*.js'], };
module.exports = { default: { ...common, worldParameters: { context: 'fr-uat, }, }, cli: { ...common, paths: ['journeys///*.feature'], }, };
@Balrog994 It would appear that moving from Cucumber 9 to Cucumber 10 does not cause the tests to run. The function chunksToLinesAsync in Cucumber 9 returns values but in Cucumber 10 it does not.
I suspect the cucumberProcess.stdout and cucumberProcess.stderr do not return the data in the same format so no longer works between the versions.
when i launch test using the vscode testing tool i get:
when i run cucumber through the package.json it's working fine: