Could not load helper Mochawesome from module './helper/Mochawesome' error msg
See original GitHub issueI’ve received this error trying to run mochawesome reporter (odeceptjs run --reporter mochawesome) . I’m using VSCode as IDE. I followed reports guide from CodeceptJS site, so my codecept.json looks like this:
{
"output": "./output",
"helpers": {
"Mochawesome": {
"uniqueScreenshotNames": "true"
},
"WebDriverIO": {
"url": "",
"browser": "chrome",
"windowSize": "maximize",
"restart": true,
"smartWait": 15000
}
},
"include": {
"I": "./steps_file.js",
"basePage": "./base/BasePage.js"
},
"mocha": {
"reporterOptions": {
"reportDir": "output"
}
},
"bootstrap": false,
"teardown": null,
"hooks": [],
"tests": "./test/DashBoardTest.js",
"timeout": 10000,
"name": ""
}
Why did I receive that message above? Am I missing some configuration?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:19 (1 by maintainers)
Top Results From Across the Web
Issues - GitHub
I've received this error trying to run mochawesome reporter (odeceptjs run --reporter ... Could not load helper Mochawesome from module '.
Read more >mochawesome - npm
Mochawesome ships with an addContext helper method that can be used to associate additional information with a test. This information will then ...
Read more >mochawesome/general - Gitter
js --reporter mochawesome' command. I am getting some warning message - 'Warning: Could not find any test files matching pattern: mochawesome' Anyone can...
Read more >Using Mochawesome Reporter with Cypress
Solution: mochawesome-merge can be used to merge these reports and then generate one HTML report for all your cypress tests.
Read more >Mochawesome report is not opening in browser?
json and mochawesome.html. But unable to open the mochawesome.html file in browser. Kindly help. Is there any other module to see the report ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@luisgzvs @guruparanun output folders for screenshots and html report should be same. So try to modify your configs this way:
Thank you very much, @APshenkin now screenshot is show on html report too. Thank 👍