File tree Expand file tree Collapse file tree 2 files changed +2
-25
lines changed
Expand file tree Collapse file tree 2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -93,32 +93,10 @@ 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 ;
97- obj . customBuildName = bsConfig . run_settings . build_name || bsConfig . run_settings . 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-
102- if ( ! Utils . isUndefined ( bsConfig . run_settings . cypress_config_filename ) ) {
103- obj . cypress_config_filename = bsConfig . run_settings . cypress_config_filename ;
104- }
105-
106- if ( ! Utils . isUndefined ( bsConfig . run_settings . specs ) ) {
107- obj . specs = bsConfig . run_settings . specs ;
108- }
109-
110- if ( ! Utils . isUndefined ( bsConfig . run_settings . env ) ) {
111- obj . env = bsConfig . run_settings . env ;
112- }
113- if ( ! Utils . isUndefined ( bsConfig . run_settings . cypress_version ) ) {
114- obj . cypress_version = bsConfig . run_settings . cypress_version ;
115- }
116-
117- if ( ! Utils . isUndefined ( bsConfig . run_settings . headless ) && String ( bsConfig . run_settings . headless ) === "false" ) {
118- obj . headless = bsConfig . run_settings . headless ;
119- } else {
96+ if ( ! ( ! Utils . isUndefined ( bsConfig . run_settings . headless ) && String ( bsConfig . run_settings . headless ) === "false" ) ) {
12097 logger . info ( `Running your tests in headless mode. Use --headed arg to run in headful mode.` ) ;
12198 }
99+ obj . run_settings = bsConfig . run_settings ;
122100 }
123101
124102 if ( obj . parallels === Constants . cliMessages . RUN . DEFAULT_PARALLEL_MESSAGE ) obj . parallels = undefined
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ module.exports = function () {
6161 } ,
6262 "package_config_options" : {
6363 } ,
64- "system_env_vars" : [ ] ,
6564 "headless" : true
6665 } ,
6766 "connection_settings" : {
You can’t perform that action at this time.
0 commit comments