weixin_39926540
weixin_39926540
2021-01-08 11:08

Blank Allure Report

image

--- 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

C:\workspace\MyWorkspace\SFRABaseCodeceptJS>allure generate --clean allure-results does not exists Report successfully generated to allure-report

C:\workspace\MyWorkspace\SFRABaseCodeceptJS>npm install -g allure-commandline --save-dev C:\Users\XXXXX\AppData\Roaming\npm\allure -> C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\allure-commandline\bin\allure + allure-commandline.13.0 added 1 package in 2.304s

该提问来源于开源项目:codeceptjs/CodeceptJS

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

11条回答