File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,10 @@ function sync_args_from_cmd(args) {
389389 lt_config [ "run_settings" ] [ "useNode18" ] = false ;
390390 }
391391
392+ if ( "useNodeVersion" in args ) {
393+ lt_config . run_settings . useNodeVersion = args [ "useNodeVersion" ] ;
394+ }
395+
392396 if ( "accessibility" in args ) {
393397 if ( args [ "accessibility" ] == "true" ) {
394398 lt_config . run_settings . accessibility = true ;
@@ -478,6 +482,14 @@ function sync_args_from_cmd(args) {
478482 lt_config [ "run_settings" ] [ "privateCloud" ] = false ;
479483 }
480484
485+ if ( "enableCFT" in args ) {
486+ if ( args [ "enableCFT" ] == "true" ) {
487+ lt_config . run_settings . enableCFT = true ;
488+ } else {
489+ lt_config . run_settings . enableCFT = false ;
490+ }
491+ }
492+
481493 //Check for stop on failure location
482494 if ( "stop_on_failure" in args ) {
483495 lt_config [ "run_settings" ] [ "stop_on_failure" ] = true ;
Original file line number Diff line number Diff line change @@ -246,6 +246,11 @@ const argv = require("yargs")
246246 describe : "Use node version 18 for cypress" ,
247247 type : "bool" ,
248248 } )
249+ . option ( "nodeV" , {
250+ alias : "useNodeVersion" ,
251+ describe : "Specify Node.js version for Cypress runtime" ,
252+ type : "string" ,
253+ } )
249254 . option ( "net_sse" , {
250255 alias : "network_sse" ,
251256 describe : "Bypass sse events calls for Network logs" ,
@@ -270,6 +275,11 @@ const argv = require("yargs")
270275 alias : "privateCloud" ,
271276 describe : "Set custom private Cloud" ,
272277 type : "bool" ,
278+ } )
279+ . option ( "enableCFT" , {
280+ alias : "enableCFT" ,
281+ describe : "Enable Chrome for Testing feature flag" ,
282+ type : "bool" ,
273283 } ) ;
274284 } ,
275285 function ( argv ) {
You can’t perform that action at this time.
0 commit comments