Comments (8)
This sounds like you are using mochawesome-merge. I do not maintain that package so if this is the case, I suggest you open an issue in that repo.
from mochawesome-report-generator.
Mochawesome merge was trying to find reports to merge, but they are unable to find it.
The command executed in the CLI was
npx cypress run --browser chrome --headless --spec cypress/integration/uk/smoke/*.spec.js --env grepTags=@TryNow --reporter-options reportDir=UKStagingJsonReports,reportFilename=StagingTests,html=false,json=true,overwrite=false.
Reports are generated in the expected path as given in the CLI command
from mochawesome-report-generator.
What does your cypress config look like?
from mochawesome-report-generator.
"chromeWebSecurity": false,
"defaultCommandTimeout": 10000,
"requestTimeout": 10000,
"screenshotOnRunFailure": true,
"skipCopyingScreenshots": true,
"viewportWidth": 1440,
"viewportHeight": 900,
"pageLoadTimeout": 10000,
"reporter": "../node_modules/mochawesome/src/mochawesome.js",
"video": false
from mochawesome-report-generator.
So looks like mochawesome is saving your reports to the expected directory. However mochawesome-merge is looking for a .jsons
directory which doesn't exist. Where are you calling mochawesome-merge? You may need to adjust the options there.
from mochawesome-report-generator.
from mochawesome-report-generator.
Oh, I see. You're using cypress-mochawesome-reporter
which is another package I do not maintain. It bundles mochawesome and mochawesome-merge. Please file an issue with that project.
from mochawesome-report-generator.
Closing the issue as I was able to resolve this. Thank you for your help
from mochawesome-report-generator.
Related Issues (20)
- Feature: Statistics on suite
- Snapshots stopped showing up on reports after upgrade to v6.0.1 HOT 1
- Add option to avoid use of custom fonts (assets) HOT 1
- How can I get the title of my spec file/describe as my HTML report file namne HOT 5
- Unlimit mochawesome report files above 1000 and rename them HOT 1
- .html extension duplication in 6.1.0 HOT 6
- Please consider progressive enhancement to avoid blank pages when CSPs don't allow JS HOT 3
- formatDuration raises sometimes an "Expected a finite number" exception (and it displays a blank screen) HOT 1
- Report shows passed steps as pending HOT 3
- Failures array empty in report
- Asset folder is getting generate even after --inline=true argument
- Copy Text from Test Header
- Please add line number for soure code displaying HOT 1
- Failing to use [name] for reportFilename HOT 1
- Test result file types/interfaces
- Unable to format the "context" section of the mochawesome report
- Ability to show hooks duration in the generated report
- Assets not placed in correct directory
- Reduce the file size mochawesome report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mochawesome-report-generator.