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 = {
5454 PARALLEL_DESC : "The maximum number of parallels to use to run your test suite" ,
5555 INFO : "Run your tests on BrowserStack." ,
5656 DESC : "Path to BrowserStack config" ,
57+ CYPRESS_DESC : "Path to cypress config file" ,
5758 CONFIG_DEMAND : "config file is required" ,
59+ CYPRESS_CONFIG_DEMAND : "cypress config file is required" ,
5860 BUILD_NAME : "The build name you want to use to name your test runs"
5961 } ,
6062 COMMON : {
Original file line number Diff line number Diff line change @@ -136,6 +136,15 @@ var argv = yargs
136136 demand : true ,
137137 demand : Constants . cliMessages . RUN . CONFIG_DEMAND
138138 } ,
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+ } ,
139148 'disable-usage-reporting' : {
140149 default : undefined ,
141150 description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
You can’t perform that action at this time.
0 commit comments