Skip to content

Sdk 3569#2

Open
AakashHotchandani wants to merge 5 commits intov8from
SDK-3569
Open

Sdk 3569#2
AakashHotchandani wants to merge 5 commits intov8from
SDK-3569

Conversation

@AakashHotchandani
Copy link
Owner

@AakashHotchandani AakashHotchandani commented Aug 4, 2025

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

  • Polish (an improvement for an existing feature)
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (improvements to the project's docs)
  • Specification changes (updates to WebDriver command specifications)
  • Internal updates (everything related to internal scripts, governance documentation and CI files)

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Backport Request

//: # (The current main branch 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 the v8 branch.)

  • This change is solely for v9 and doesn't need to be back-ported
  • Back-ported PR at #XXXXX

Further comments

Reviewers: @webdriverio/project-committers

- `BROWSERSTACK_TEST_REPORTING_DEBUG` - Enable debug mode for test reporting
- `TEST_REPORTING_BUILD_TAG` - Comma-separated build tags

**Legacy (still supported):**

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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. Its 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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Observability???

const testObservabilityOptions = this._options.testObservabilityOptions

// Support both testObservabilityOptions and testReportingOptions
const reportingConfig = getTestReportingConfig(this._options)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to manage both envs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants