diff --git a/test/1_serverCypress.js b/test/1_serverCypress.js index 424499ff..f0c9d257 100644 --- a/test/1_serverCypress.js +++ b/test/1_serverCypress.js @@ -6,7 +6,7 @@ import { app } from '../app.js'; function runCypress(browser, done) { let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}`; if ((process.env.CYPRESS_RECORD_KEY ?? '') !== '') { - cypressCommand += ` --tag "${browser},${process.version} --record`; + cypressCommand += ` --tag "${browser},${process.version}" --record`; } const childProcess = exec(cypressCommand); childProcess.stdout?.on('data', (data) => { diff --git a/test/1_serverCypress.ts b/test/1_serverCypress.ts index 4aa07a9c..cb24466b 100644 --- a/test/1_serverCypress.ts +++ b/test/1_serverCypress.ts @@ -13,7 +13,7 @@ function runCypress(browser: 'chrome' | 'firefox', done: () => void): void { let cypressCommand = `cypress run --config-file cypress.config.js --browser ${browser}` if ((process.env.CYPRESS_RECORD_KEY ?? '') !== '') { - cypressCommand += ` --tag "${browser},${process.version} --record` + cypressCommand += ` --tag "${browser},${process.version}" --record` } const childProcess = exec(cypressCommand)