Skip to content

Commit 23fcc8c

Browse files
committed
added enableCFT capability
1 parent 6946af0 commit 23fcc8c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

commands/utils/set_args.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,14 @@ function sync_args_from_cmd(args) {
478478
lt_config["run_settings"]["privateCloud"] = false ;
479479
}
480480

481+
if ("enableCFT" in args) {
482+
if (args["enableCFT"] == "true") {
483+
lt_config.run_settings.enableCFT = true;
484+
} else {
485+
lt_config.run_settings.enableCFT = false;
486+
}
487+
}
488+
481489
//Check for stop on failure location
482490
if ("stop_on_failure" in args) {
483491
lt_config["run_settings"]["stop_on_failure"] = true;

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@ const argv = require("yargs")
270270
alias: "privateCloud",
271271
describe: "Set custom private Cloud",
272272
type: "bool",
273+
})
274+
.option("enableCFT", {
275+
alias: "enableCFT",
276+
describe: "Enable Chrome for Testing feature flag",
277+
type: "bool",
273278
});
274279
},
275280
function (argv) {

0 commit comments

Comments
 (0)