File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ const cliMessages = {
54
54
PARALLEL_DESC : "The maximum number of parallels to use to run your test suite" ,
55
55
INFO : "Run your tests on BrowserStack." ,
56
56
DESC : "Path to BrowserStack config" ,
57
+ CYPRESS_DESC : "Path to cypress config file" ,
57
58
CONFIG_DEMAND : "config file is required" ,
59
+ CYPRESS_CONFIG_DEMAND : "cypress config file is required" ,
58
60
BUILD_NAME : "The build name you want to use to name your test runs"
59
61
} ,
60
62
COMMON : {
Original file line number Diff line number Diff line change @@ -136,6 +136,15 @@ var argv = yargs
136
136
demand : true ,
137
137
demand : Constants . cliMessages . RUN . CONFIG_DEMAND
138
138
} ,
139
+ 'ccf' : {
140
+ alias : 'cypress-config-file' ,
141
+ describe : Constants . cliMessages . RUN . CYPRESS_DESC ,
142
+ default : 'cypress.json' ,
143
+ type : 'string' ,
144
+ nargs : 1 ,
145
+ demand : true ,
146
+ demand : Constants . cliMessages . RUN . CYPRESS_CONFIG_DEMAND
147
+ } ,
139
148
'disable-usage-reporting' : {
140
149
default : undefined ,
141
150
description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
You can’t perform that action at this time.
0 commit comments