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

wdio-devtools-service: adding debuggerAddress parameter #3841

Merged
merged 2 commits into from Apr 12, 2019
Merged

wdio-devtools-service: adding debuggerAddress parameter #3841

merged 2 commits into from Apr 12, 2019

Conversation

CrispusDH
Copy link
Contributor

@CrispusDH CrispusDH commented Apr 11, 2019

Proposed changes

Fix #3744 .

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

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)

Further comments

I'm not sure that my implementation will work :).

  1. Is adding constructor will add possibility to add parameter in wdio config like I wrote in README.md?
  2. Could someone help with tests. I'm not familiar with mocking stuff?

Reviewers: @webdriverio/technical-committee

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.

👍

@CrispusDH CrispusDH marked this pull request as ready for review April 11, 2019 09:36
@codecov
Copy link

codecov bot commented Apr 11, 2019

Codecov Report

Merging #3841 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3841      +/-   ##
==========================================
+ Coverage   98.43%   98.43%   +<.01%     
==========================================
  Files         150      150              
  Lines        3442     3446       +4     
  Branches      749      750       +1     
==========================================
+ Hits         3388     3392       +4     
  Misses         49       49              
  Partials        5        5
Impacted Files Coverage Δ
packages/wdio-devtools-service/src/utils.js 100% <ø> (ø) ⬆️
packages/wdio-devtools-service/src/index.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c22df0...fe0d63f. Read the comment docs.

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.

Can you add a test for this where the DevTools service is initialised with the debuggerAddress as option?

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: New Feature 🚀 PRs that contain new features label Apr 12, 2019
@christian-bromann christian-bromann merged commit 0c9ca5a into webdriverio:master Apr 12, 2019
abjerstedt pushed a commit that referenced this pull request Apr 26, 2019
## Proposed changes

Fix #3744 . 

[//]: # (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

[//]: # (What types of changes does your code introduce to WebdriverIO?)
[//]: # (_Put an `x` in the boxes that apply_)

- [x] Bugfix (non-breaking change which fixes an issue)

## Checklist

[//]: # (_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._)

- [x] I have read the [CONTRIBUTING](https://github.com/webdriverio/webdriverio/blob/master/CONTRIBUTING.md) doc
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] I have added necessary documentation (if appropriate)

## Further comments

I'm not sure that my implementation will work :). 
1) Is adding `constructor` will add possibility to add parameter in wdio config like I wrote in `README.md`?
2) Could someone help with tests. I'm not familiar with mocking stuff?

[//]: # (If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...)

### Reviewers: @webdriverio/technical-committee
yamkay pushed a commit to MoveInc/webdriverio that referenced this pull request Sep 4, 2019
…3841)

## Proposed changes

Fix webdriverio#3744 . 

[//]: # (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

[//]: # (What types of changes does your code introduce to WebdriverIO?)
[//]: # (_Put an `x` in the boxes that apply_)

- [x] Bugfix (non-breaking change which fixes an issue)

## Checklist

[//]: # (_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._)

- [x] I have read the [CONTRIBUTING](https://github.com/webdriverio/webdriverio/blob/master/CONTRIBUTING.md) doc
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] I have added necessary documentation (if appropriate)

## Further comments

I'm not sure that my implementation will work :). 
1) Is adding `constructor` will add possibility to add parameter in wdio config like I wrote in `README.md`?
2) Could someone help with tests. I'm not familiar with mocking stuff?

[//]: # (If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...)

### Reviewers: @webdriverio/technical-committee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: New Feature 🚀 PRs that contain new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to manually configure address+port for "devtools" service
3 participants