Я получаю пустой отчет с NaN%, скриншот прикреплен в Codecept Js.
--- codecept.config.js ---
plugins: {
wdio: {
enabled: true,
services: ['selenium-standalone']
},
allure: {
enabled: true,
outputDir: "./output"
},
screenshotOnFail: {
enabled: true
},
stepByStepReport: {
enabled: true,
output: "./output"
},
},
reporters: [['allure', {
outputDir: 'allure-results',
disableWebdriverStepsReporting: true,
disableWebdriverScreenshotsReporting: true,
}]],
------ package.json ----
"test:acceptance:report": "./node_modules/.bin/allure serve test/acceptance/report",
"devDependencies": {
"allure-commandline": "^2.13.0",
}
I tried ...
1- reinstalling npm
2- installing allure-commandline (npm install -g allure-commandline --save-dev)
3- Run via allure generate and allure generate --clean
Commands: allure generate --clean
Result: allure-results does not exists
Report successfully generated to allure-report
Command: npm install -g allure-commandline --save-dev
Result :
C: \ Users \ XXXXX \ AppData \ Roaming \ npm \ allure -> C : \ Users \ XXXXXX \ AppData \ Roaming \ npm \ node_modules \ allure-commandline \ bin \ allure
allure-commandline@2.13.0 added 1 package in 2.304s[enter image description here][1]
[1]: https://i.stack.imgur.com/w8PnZ.png