fix cypress command
parent
0f70bbe14c
commit
cf5cd5167e
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue