From 07c42732809a2bb566588b2e021b1183cab80ed4 Mon Sep 17 00:00:00 2001 From: sabril <5334504+saturninoabril@users.noreply.github.com> Date: Fri, 15 May 2026 16:42:31 +0800 Subject: [PATCH] ci: backport e2e-tests/cypress/reporter-config.json to release-10.11 (#36565) server.run_specs.sh invokes Cypress with --reporter cypress-multi-reporters --reporter-options configFile=reporter-config.json but the file was never added to this branch (it landed on master in 981ff0bc46 as part of a larger CI refactor). Without it, every spec run fails with ENOENT against reporter-config.json before the first test executes. Backports only the single 15-line config file, byte-identical to master. Co-authored-by: Claude Opus 4.7 (1M context) --- e2e-tests/cypress/reporter-config.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 e2e-tests/cypress/reporter-config.json diff --git a/e2e-tests/cypress/reporter-config.json b/e2e-tests/cypress/reporter-config.json new file mode 100644 index 0000000000..f70990ff0a --- /dev/null +++ b/e2e-tests/cypress/reporter-config.json @@ -0,0 +1,15 @@ +{ + "reporterEnabled": "mocha-junit-reporter, mochawesome", + "mochaJunitReporterReporterOptions": { + "mochaFile": "results/junit/test_results[hash].xml", + "toConsole": false + }, + "mochawesomeReporterOptions": { + "reportDir": "results/mochawesome-report", + "reportFilename": "json/tests/[name]", + "quiet": true, + "overwrite": false, + "html": false, + "json": true + } +}