Open
Conversation
pri-gadhiya
reviewed
Aug 6, 2025
| - `BROWSERSTACK_TEST_REPORTING_DEBUG` - Enable debug mode for test reporting | ||
| - `TEST_REPORTING_BUILD_TAG` - Comma-separated build tags | ||
|
|
||
| **Legacy (still supported):** |
There was a problem hiding this comment.
Check with product once do we need to have this added?
| **⚠️ DEPRECATED:** Use `testReporting` instead. This option is maintained for backward compatibility. | ||
|
|
||
| Test Observability is an advanced test reporting tool that gives insights to improve your automation tests and helps you debug faster. It’s enabled by default by setting the testObservability flag as true for all users of browserstack-service. You can disable this by setting the testObservability flag to false. | ||
| Test Observability is an advanced test reporting tool that gives insights to improve your automation tests and helps you debug faster. It's enabled by default by setting the testObservability flag as true for all users of browserstack-service. You can disable this by setting the testObservability flag to false. |
| const testObservabilityOptions = this._options.testObservabilityOptions | ||
|
|
||
| // Support both testObservabilityOptions and testReportingOptions | ||
| const reportingConfig = getTestReportingConfig(this._options) |
There was a problem hiding this comment.
Do we need to handle it in 2 different vars internally?
| process.env[BROWSERSTACK_TEST_REPORTING] = 'true' | ||
| } else { | ||
| process.env[BROWSERSTACK_OBSERVABILITY] = 'false' | ||
| process.env[BROWSERSTACK_TEST_REPORTING] = 'false' |
There was a problem hiding this comment.
Do we really need to manage both envs?
pri-gadhiya
approved these changes
Aug 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
O11y Artifact changes
//: # (Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.)
Types of changes
Checklist
Backport Request
//: # (The current
mainbranch is the development branch for WebdriverIO v9. If your change should be released to the current major version of WebdriverIO (v8), please raise another PR with the same changes against thev8branch.)v9and doesn't need to be back-ported#XXXXXFurther comments
Reviewers: @webdriverio/project-committers