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) <noreply@anthropic.com>
Этот коммит содержится в:
sabril
2026-05-15 16:42:31 +08:00
коммит произвёл GitHub
родитель 5b85331de9
Коммит 07c4273280

15
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
}
}