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) => {
741
741
/* testObservability */
742
742
let isTestObservabilitySession = false ;
743
743
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
+
744
747
if ( ! utils . isUndefined ( bsConfig [ "testObservability" ] ) ) isTestObservabilitySession = ( bsConfig [ "testObservability" ] == true || bsConfig [ "testObservability" ] == 1 ) ;
745
748
if ( ! utils . isUndefined ( process . env . BROWSERSTACK_TEST_OBSERVABILITY ) ) isTestObservabilitySession = ( process . env . BROWSERSTACK_TEST_OBSERVABILITY == "true" || process . env . BROWSERSTACK_TEST_OBSERVABILITY == "1" ) ;
746
749
if ( process . argv . includes ( '--disable-test-observability' ) ) isTestObservabilitySession = false ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " browserstack-cypress-cli" ,
3
- "version" : " 1.24.0 " ,
3
+ "version" : " 1.24.1 " ,
4
4
"description" : " BrowserStack Cypress CLI for Cypress integration with BrowserStack's remote devices." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments