File tree Expand file tree Collapse file tree 4 files changed +31
-7
lines changed Expand file tree Collapse file tree 4 files changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,21 @@ module.exports = {
19
19
"https://api.lambdatest.com/automation/api/v1/sessions?limit=200&session_id=" ,
20
20
} ,
21
21
stage : {
22
- INTEGRATION_BASE_URL : "https://stage-api.lambdatest.com/liis" ,
23
- BUILD_BASE_URL :
24
- "https://stage-api.lambdatest.com/automation/api/v1/builds/" ,
25
- BUILD_STOP_URL :
26
- "https://stage-api.lambdatest.com/api/v1/test/stop?buildId=" ,
27
- SESSION_URL :
28
- "https://stage-api.lambdatest.com/automation/api/v1/sessions?limit=200&session_id=" ,
22
+ INTEGRATION_BASE_URL : "https://api.asad-cypress.dev.lambdatest.io/liis" ,
23
+ //INTEGRATION_BASE_URL: "http://127.0.0.1:4449/liis",
24
+ BUILD_BASE_URL : "https://api.asad-cypress.dev.lambdatest.io/automation/api/v1/builds/" ,
25
+ BUILD_STOP_URL :"https://stage-api.lambdatest.com/api/v1/test/stop?buildId=" ,
26
+ SESSION_URL :"https://api.asad-cypress.lambdatest.io/automation/api/v1/sessions?session_id="
27
+
28
+
29
+ // INTEGRATION_BASE_URL: "https://stage-api.lambdatest.com/liis",
30
+ // BUILD_BASE_URL:
31
+ // "https://stage-api.lambdatest.com/automation/api/v1/builds/",
32
+ // BUILD_STOP_URL:
33
+ // "https://stage-api.lambdatest.com/api/v1/test/stop?buildId=",
34
+ // SESSION_URL:
35
+ // "https://stage-api.lambdatest.com/automation/api/v1/sessions?limit=200&session_id=",
36
+
29
37
} ,
30
38
beta : {
31
39
INTEGRATION_BASE_URL : "https://beta-api.lambdatest.com/liis" ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ module.exports = {
23
23
ignore_files : "" ,
24
24
feature_file_suppport : false ,
25
25
network : false ,
26
+ headless : false ,
26
27
reporter_config_file : ""
27
28
} ,
28
29
tunnel_settings : {
Original file line number Diff line number Diff line change @@ -235,6 +235,16 @@ function sync_args_from_cmd(args) {
235
235
} else if ( ! lt_config [ "run_settings" ] [ "network" ] ) {
236
236
lt_config [ "run_settings" ] [ "network" ] = false ;
237
237
}
238
+
239
+ if ( "headless" in args ) {
240
+ console . log ( "headlesss in args - value" , args [ "headless" ] ) ;
241
+ lt_config [ "run_settings" ] [ "headless" ] = args [ "headless" ]
242
+ } else if ( ! lt_config [ "run_settings" ] [ "headless" ] ) {
243
+ console . log ( "headless not present in lt config" )
244
+ lt_config [ "run_settings" ] [ "headless" ] = false ;
245
+ }
246
+
247
+
238
248
//get specs from current directory if specs are not passed in config or cli
239
249
if (
240
250
( lt_config [ "run_settings" ] [ "specs" ] == undefined ||
Original file line number Diff line number Diff line change @@ -87,6 +87,11 @@ const argv = require("yargs")
87
87
describe : "Tunnel Auto Start" ,
88
88
type : "string" ,
89
89
} )
90
+ . option ( "headless" , {
91
+ alias : "headless" ,
92
+ describe : "Run in headless mode" ,
93
+ type : "boolean" ,
94
+ } )
90
95
. option ( "net" , {
91
96
alias : "network" ,
92
97
describe : "Capture Network logs" ,
You can’t perform that action at this time.
0 commit comments