Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v7] Bug fix: TypeError: Cannot read properties of undefined (reading 'uuid') #9622

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

nagpalkaran95
Copy link
Contributor

@nagpalkaran95 nagpalkaran95 commented Jan 18, 2023

Proposed changes

Fix for

[0-0] TypeError: Cannot read properties of undefined (reading 'uuid')
[0-0]     at InsightsHandler.browserCommand (file:///Users/<path>/webdriverio/packages/wdio-browserstack-service/src/insights-handler.ts:234:56)
[0-0]     at EventEmitter.<anonymous> (file:///Users/<path>/webdriverio/packages/wdio-browserstack-service/src/service.ts:102:87)
[0-0]     at EventEmitter.emit (node:events:525:35)
[0-0]     at EventEmitter.emit (node:domain:489:12)
[0-0]     at Browser.WebDriver.prototype.<computed> [as emit] (file:///Users/<path>/wdio/node_modules/@wdio/runner/node_modules/@wdio/utils/build/monad.js:162:39)
[0-0]     at file:///Users/<path>/wdio/node_modules/@wdio/runner/node_modules/webdriver/build/command.js:91:18
[0-0]     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[0-0]     at Browser.wrapCommandFn (file:///Users/<path>/wdio/node_modules/@wdio/runner/node_modules/@wdio/utils/build/shim.js:72:29)
[0-0]     at Browser.wrapCommandFn (file:///Users/<path>/wdio/node_modules/@wdio/runner/node_modules/@wdio/utils/build/shim.js:72:29)
[0-0]     at BrowserstackService._executeCommand (file:///Users/<path>/webdriverio/packages/wdio-browserstack-service/src/service.ts:395:17) {
[0-0]   jasmineMessage: "Uncaught exception: TypeError: Cannot read properties of undefined (reading 'uuid')"
[0-0] }

Types of changes

  • 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

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 necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

Reviewers: @webdriverio/project-committers

Related PR: main - #9621

@nagpalkaran95 nagpalkaran95 changed the base branch from main to v7 January 18, 2023 13:59
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

👍

@christian-bromann christian-bromann added the PR: Bug Fix 🐛 PRs that contain bug fixes label Jan 18, 2023
@christian-bromann christian-bromann merged commit ef79fa2 into webdriverio:v7 Jan 18, 2023
@nagpalkaran95 nagpalkaran95 deleted the insight_fix_v7 branch January 18, 2023 16:23
@valfirst valfirst mentioned this pull request Jan 19, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bug Fix 🐛 PRs that contain bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants