Skip to content

fixes for regression issues#2

Merged
rounak610 merged 4 commits intowdio_v9_fixesfrom
regression_issues_fixes
Jan 28, 2025
Merged

fixes for regression issues#2
rounak610 merged 4 commits intowdio_v9_fixesfrom
regression_issues_fixes

Conversation

@rounak610
Copy link
Owner

Proposed changes

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

PercyLogger.debug('Percy fetch token success: ' + response.token)
return response.token
}
this.percyCaptureMode = response.percy_capture_mode

Choose a reason for hiding this comment

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

why removing this?

Copy link
Owner Author

Choose a reason for hiding this comment

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

have fixed this, plz review again

options = {
...options,
testCase: name || '',
thTestCaseExecutionId: uuid || '',

Choose a reason for hiding this comment

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

why?

Copy link
Owner Author

Choose a reason for hiding this comment

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

this was discussed with Ninad, he told me that Percy needs to change their data model to support different thTestCaseExecutionId & currenty they are not picking this up, thats why he suggested me to not send the id
ticket: https://browserstack.atlassian.net/browse/PER-4359

BStackLogger.info(`Upload response: ${JSON.stringify(response, null, 2)}`)
BStackLogger.logToFile(`Response - ${format(response)}`, 'debug')
}
} catch (error) {

Choose a reason for hiding this comment

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

why adding try catch here if added in uploadLogs method?

Copy link
Owner Author

Choose a reason for hiding this comment

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

have removed the try catch block

@rounak610 rounak610 merged commit 68247b5 into wdio_v9_fixes Jan 28, 2025
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.

2 participants