I'm running Cypress 12.13.0 with mochawesome-report-generator 6.2.0, mochawesome-merge 4.3.0 and mochawesome 7.1.3, although I've had this problem for a few versions of Cypress.
I'm using bamboo to run a powershell script to run all of the files and generate the reports. It looks like:
npx cypress run --spec 'cypress/e2e/features/**/*'
npx mochawesome-merge cypress/results/json/**.json -o combined-mochawesome.json
npx marge combined-mochawesome.json
It appears cypress is re running an entire file, which contains multiple tests, according to the report at the end. Anybody know why that is? The cypress config file doesn't have retries set.
The log from bamboo doesn't show an additional run, it only shows 1 run of the file.
Turns out that a results folder with a json file checked into our repository. This was done by accident. Removing the file and folder this problem has gone away and everything works as expected now.