File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,18 @@ const caps = (bsConfig, zip) => {
93
93
obj . projectNotifyURL = null ;
94
94
95
95
if ( bsConfig . run_settings ) {
96
+ obj . project = bsConfig . run_settings . project || bsConfig . run_settings . project_name || obj . project ;
97
+ obj . customBuildName = bsConfig . run_settings . build_name || bsConfig . run_settings . customBuildName || obj . customBuildName ;
98
+ obj . callbackURL = bsConfig . run_settings . callback_url ;
99
+ obj . projectNotifyURL = bsConfig . run_settings . project_notify_URL ;
100
+ obj . parallels = bsConfig . run_settings . parallels ;
101
+
96
102
if ( ! ( ! Utils . isUndefined ( bsConfig . run_settings . headless ) && String ( bsConfig . run_settings . headless ) === "false" ) ) {
97
103
logger . info ( `Running your tests in headless mode. Use --headed arg to run in headful mode.` ) ;
98
104
}
99
- obj . run_settings = bsConfig . run_settings ;
105
+
106
+ // send run_settings as is for other capabilities
107
+ obj . run_settings = JSON . stringify ( bsConfig . run_settings ) ;
100
108
}
101
109
102
110
if ( obj . parallels === Constants . cliMessages . RUN . DEFAULT_PARALLEL_MESSAGE ) obj . parallels = undefined
You can’t perform that action at this time.
0 commit comments