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

pull/28788/head^2
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
parallel: true
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 }}
env:
# 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.
// @ts-ignore https://github.com/cypress-io/cypress/issues/26284
morgan: false,
// Create XML result files
reporter: "cypress-multi-reporters",
reporterOptions: {
configFile: "cypress-ci-reporter-config.json",
},
});