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) => {
9393 obj . projectNotifyURL = null ;
9494
9595 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+
96102 if ( ! ( ! Utils . isUndefined ( bsConfig . run_settings . headless ) && String ( bsConfig . run_settings . headless ) === "false" ) ) {
97103 logger . info ( `Running your tests in headless mode. Use --headed arg to run in headful mode.` ) ;
98104 }
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 ) ;
100108 }
101109
102110 if ( obj . parallels === Constants . cliMessages . RUN . DEFAULT_PARALLEL_MESSAGE ) obj . parallels = undefined
You can’t perform that action at this time.
0 commit comments