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>
Этот коммит содержится в:
15
e2e-tests/cypress/reporter-config.json
Обычный файл
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
|
||||
}
|
||||
}
|
||||
Ссылка в новой задаче
Block a user