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) => {
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 ;
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" ) ) {
120
97
logger . info ( `Running your tests in headless mode. Use --headed arg to run in headful mode.` ) ;
121
98
}
99
+ obj . run_settings = bsConfig . run_settings ;
122
100
}
123
101
124
102
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 () {
61
61
} ,
62
62
"package_config_options" : {
63
63
} ,
64
- "system_env_vars" : [ ] ,
65
64
"headless" : true
66
65
} ,
67
66
"connection_settings" : {
You can’t perform that action at this time.
0 commit comments