File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
bin/testObservability/helper Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -741,6 +741,9 @@ exports.setTestObservabilityFlags = (bsConfig) => {
741741 /* testObservability */
742742 let isTestObservabilitySession = false ;
743743 try {
744+ /* set default again but under try catch in case of wrong config */
745+ isTestObservabilitySession = utils . nonEmptyArray ( bsConfig . run_settings . downloads ) ? false : true ;
746+
744747 if ( ! utils . isUndefined ( bsConfig [ "testObservability" ] ) ) isTestObservabilitySession = ( bsConfig [ "testObservability" ] == true || bsConfig [ "testObservability" ] == 1 ) ;
745748 if ( ! utils . isUndefined ( process . env . BROWSERSTACK_TEST_OBSERVABILITY ) ) isTestObservabilitySession = ( process . env . BROWSERSTACK_TEST_OBSERVABILITY == "true" || process . env . BROWSERSTACK_TEST_OBSERVABILITY == "1" ) ;
746749 if ( process . argv . includes ( '--disable-test-observability' ) ) isTestObservabilitySession = false ;
Original file line number Diff line number Diff line change 11{
22 "name" : " browserstack-cypress-cli" ,
3- "version" : " 1.24.0 " ,
3+ "version" : " 1.24.1 " ,
44 "description" : " BrowserStack Cypress CLI for Cypress integration with BrowserStack's remote devices." ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments