Skip to content
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

Jsonfile generates with random Numbers #4

Open
skAutomation12 opened this issue Apr 19, 2019 · 0 comments
Open

Jsonfile generates with random Numbers #4

skAutomation12 opened this issue Apr 19, 2019 · 0 comments

Comments

@skAutomation12
Copy link

conf.js

format: 'json:./cucumber_report.json',

index.js

var options = { theme: 'bootstrap', jsonFile: './cucumber_report.json', output: './cucumber_report.html', reportSuiteAsScenarios: true, ignoreBadJsonFile: true, brandTitle: 'E2E Report', launchReport: true,

Error

Unable to parse cucumberjs output into json: './cucumber_report.json' { Error: ./cucumber_report.json: ENOENT: no such file or directory, open './cucumber_report.json' at Object.openSync (fs.js:439:3) at Object.readFileSync (fs.js:344:35) at Object.readFileSync (D:\cpCucumberJSE2E\node_modules\jsonfile\index.js:67:22) at isValidJsonFile (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\lib\reporter.js:443:48) at Object.generate (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\lib\reporter.js:465:9) at Object.generateReport [as generate] (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\index.js:30:21) at Object.<anonymous> (D:\cpCucumberJSE2E\index.js:21:10) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) errno: -4058, syscall: 'open', code: 'ENOENT', path: './cucumber_report.json' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant