我每次运行时都可以使用不同的摩卡报告目录或名称运行赛普拉斯测试吗?
这是我的cypress.json
{
"pageLoadTimeout" : 120000,
"chromeWebSecurity": false,
"fixturesFolder": "cypress/fixtures",
"integrationFolder": "cypress/integration",
"pluginsFile": "cypress/plugins/index.js",
"screenshotsFolder": "cypress/screenshots",
"videosFolder": "cypress/videos",
"supportFile": "cypress/support/index.js",
"projectId": "osbbom",
"reporter": "mochawesome",
"reporterOptions": {
"charts": true,
"html": true,
"json": true,
"reportDir": "cypress/reports",
"reportFilename": "report",
"overwrite": true
}
}
我尝试过
node_modules\.bin\cypress run --config videosFolder=cypress/resultVideo,reporterOptions['reportDir']=cypress/resultReports
这...
node_modules\.bin\cypress run --config videosFolder=cypress/resultVideo,reporterOptions.reportDir=cypress/resultReports
他们两个都不适合我。请告诉我每次测试的具体位置。 (我不想每次测试都更改json文件。)预先谢谢您。