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

Breaking change in mochawesome-merge affects cypress test step #352

Closed
patleeman opened this issue Jan 7, 2020 · 6 comments
Closed

Breaking change in mochawesome-merge affects cypress test step #352

patleeman opened this issue Jan 7, 2020 · 6 comments
Labels
archived This issue has been locked. bug Something isn't working

Comments

@patleeman
Copy link

patleeman commented Jan 7, 2020

** Please describe which feature you have a question about? **
E2E testing with Cypress.

Link to guide provided by Amplify Team

** Provide additional details**
Error received when attempting to merge mocha reports generated by Cypress.

ERROR: Failed to merge reports
Error: Pattern --reportDir matched no report files

In the guide linked above the command npx mochawesome-merge --reportDir cypress/report/mochawesome-report/mochawesome*.json > cypress/report/mochawesome.json doesn't work after a breaking change to mochawesome-merge.

The fix is to omit --reportDir or to pin the version of mochawesome-merge to 3.0.0.

npx mochawesome-merge cypress/report/mochawesome-report/mochawesome*.json > cypress/report/mochawesome.json

Possibly related to:
#347

@swaminator
Copy link
Contributor

@patleeman thanks for reporting this. We are actively working on solving this.

@swaminator swaminator added bug Something isn't working work-in-progress labels Jan 7, 2020
@cslogan-red
Copy link

Thanks for the update @patleeman , an update has been provided in #115 , fix is pending release.

@cslogan-red cslogan-red added pending-release Pending code push. and removed work-in-progress labels Jan 16, 2020
@swaminator swaminator removed the pending-release Pending code push. label Jan 21, 2020
@swaminator
Copy link
Contributor

Closing. Please reopen if it is not fixed.

@afsaneGhafouri
Copy link

@patleeman I guess they dropped the --reportDir in version 4. I've checked the documentation and found this:
https://github.com/Antontelesh/mochawesome-merge#cli-1

@patleeman
Copy link
Author

@afsaneGhafouri Yeah, they removed it in this commit

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the archived This issue has been locked. label Oct 29, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants