Skip to content

Commit 5ef4971

Browse files
committed
add warning log
1 parent 03fbacf commit 5ef4971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/testObservability/helper/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ exports.setTestObservabilityFlags = (bsConfig) => {
753753
exports.debug(`EXCEPTION while parsing testObservability capability with error ${e}`, true, e);
754754
}
755755

756-
757756
/* browserstackAutomation */
758757
let isBrowserstackInfra = true;
759758
try {
@@ -765,6 +764,7 @@ exports.setTestObservabilityFlags = (bsConfig) => {
765764
exports.debug(`EXCEPTION while parsing browserstackAutomation capability with error ${e}`, true, e);
766765
}
767766

767+
if(isTestObservabilitySession) logger.warn("testObservability is set to true. Other test reporters you are using will be automatically disabled. Learn more at browserstack.com/docs/test-observability/overview/what-is-test-observability");
768768

769769
process.env.BROWSERSTACK_TEST_OBSERVABILITY = isTestObservabilitySession;
770770
process.env.BROWSERSTACK_AUTOMATION = isBrowserstackInfra;

0 commit comments

Comments
 (0)