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

Process exits with code 1 even though all tests passed. #202

Open
ThatBrianDude opened this issue Aug 2, 2024 · 3 comments
Open

Process exits with code 1 even though all tests passed. #202

ThatBrianDude opened this issue Aug 2, 2024 · 3 comments

Comments

@ThatBrianDude
Copy link

ThatBrianDude commented Aug 2, 2024

For some reason both the threads pass perfectly fine and report that all specs passed successfully but the summary table stays empty.

image

Here's my multi-reporter-config.json:

 {
  "reporterEnabled": "cypress-parallel/json-stream.reporter.js, spec"
}

I'm using this command:


    "cy:run-parallel": "yarn && cypress run -C ./cypress.parallel.config.ts",
    "cy:parallel": "yarn && cypress-parallel -r spec -s cy:run-parallel -t 2 -d 'cypress/e2e/*.ts' -a '--no-runner-ui'"

In my CI I call cy:parallel, which then uses cy:run-prallel.

Any suggestion on how to fix the threads reporting their results correctly so that the summary table is filled properly?

@GZampaglione-ReflexAI
Copy link

I'm having the exact same issue, all test passing yet the Git action is failing :/

@duranbe
Copy link

duranbe commented Oct 7, 2024

Do you have cypress-multi-reporters installed ?
Make also sure it used for reporting, not any other

@rikkert09
Copy link

I had the same issue. I followed this solution and now it works great! #90 (comment)

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

4 participants