Always use cypress-multi-reporters XML report, not just in CI (#11731)

This commit is contained in:
Andy Balaam 2023-10-13 09:50:05 +01:00 committed by GitHub
parent 9ea04a539b
commit 38728069e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -174,7 +174,6 @@ jobs:
record: true record: true
parallel: true parallel: true
command: "yarn percy exec --parallel -- npx cypress-cloud run" command: "yarn percy exec --parallel -- npx cypress-cloud run"
config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }'
ci-build-id: ${{ needs.prepare.outputs.uuid }} ci-build-id: ${{ needs.prepare.outputs.uuid }}
env: env:
# pass the Dashboard record key as an environment variable # pass the Dashboard record key as an environment variable

View file

@ -45,4 +45,10 @@ export default defineConfig({
// disable logging of HTTP requests made to the Cypress server. They are noisy and not very helpful. // disable logging of HTTP requests made to the Cypress server. They are noisy and not very helpful.
// @ts-ignore https://github.com/cypress-io/cypress/issues/26284 // @ts-ignore https://github.com/cypress-io/cypress/issues/26284
morgan: false, morgan: false,
// Create XML result files
reporter: "cypress-multi-reporters",
reporterOptions: {
configFile: "cypress-ci-reporter-config.json",
},
}); });