Always use cypress-multi-reporters XML report, not just in CI (#11731)
This commit is contained in:
parent
9ea04a539b
commit
38728069e2
2 changed files with 6 additions and 1 deletions
1
.github/workflows/cypress.yaml
vendored
1
.github/workflows/cypress.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue