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

Mochawesome doesn't generate html report if the execution time is too long #28956

Closed
kxjre opened this issue Feb 16, 2024 · 2 comments
Closed
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period topic: reporters 📄

Comments

@kxjre
Copy link

kxjre commented Feb 16, 2024

Current behavior

If I want to run a feature file which has more than a few tests, the html report is not generated, basically the && npm run posttest from the "report" script doesn't run anymore. It does generate a report if I manually run the "posttest" script after the tests are executed.

Desired behavior

Basically I just want to run the "report" script for big feature files and still generate a test report.

Test code to reproduce

package.json

    "clean:reports": "(if exist cypress\\reports (rmdir /Q /S cypress\\reports)) && mkdir cypress\\reports && mkdir cypress\\reports\\mocha  &&  mkdir cypress\\reports\\mochareports",
    "pretest": "npm run clean:reports",
    "scripts": "cypress run  --spec 'cypress/e2e/test.feature'",
    "combine-reports": "mochawesome-merge cypress/reports/mocha/*.json > cypress/reports/mochareports/report.json",
    "generate-report": "marge cypress/reports/mochareports/report.json -f report -o cypress/reports/mochareports",
    "posttest": "npm run combine-reports && npm run generate-report",
    "report" : "npm run clean:reports && npm run scripts && npm run posttest"

Cypress Version

12.17.0

Node version

v20.9.0

Operating System

Windows 11

Debug Logs

No response

Other

No response

@jennifer-shehane jennifer-shehane added topic: reporters 📄 stage: needs investigating Someone from Cypress needs to look at this labels Feb 16, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Aug 15, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period topic: reporters 📄
Projects
None yet
Development

No branches or pull requests

3 participants