Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

chore(types): types for extended webdriver functions #4000

Merged
merged 1 commit into from
Jan 26, 2017

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Jan 24, 2017

This really belonged in #3998 but I guess we all make mistakes

@juliemr
Copy link
Member

juliemr commented Jan 26, 2017

this LGTM.

In a follow-up - this would be a GREAT place in the code to have a comment about why on earth we're doing what we're doing.

@sjelin sjelin merged commit ccf02ab into angular:master Jan 26, 2017
@sjelin
Copy link
Contributor Author

sjelin commented Jan 26, 2017

@juliemr will do that in another PR

sjelin added a commit to sjelin/protractor that referenced this pull request Jan 26, 2017
I decided to address this comment:

angular#4000 (comment)

While doing do I decided to take on this TODO:

https://github.com/angular/protractor/blob/ccf02ab5f1070f0d7124318dc0099252f3c747e2/lib/browser.ts#L38

In order to do that, I did the following:

* Use `new () => Class` syntax to create `AbstractWebDriver` and `AbstractWebDriver`
* Changed the return type of `findElement` and `findElements` (they were slightly wrong before)
* Changed some of our locator interfaces

One possible issue here is that `ProtractorBrowser` only copies over methods, so it doesn't actually
implement `WebDriver`'s interface.  This isn't a problem right now, since `WebDriver`'s interface
only has functions on it.  But it could be a problem in the future.
sjelin added a commit to sjelin/protractor that referenced this pull request Jan 27, 2017
I decided to address this comment:

angular#4000 (comment)

While doing do I decided to take on this TODO:

https://github.com/angular/protractor/blob/ccf02ab5f1070f0d7124318dc0099252f3c747e2/lib/browser.ts#L38

One possible issue here is that `ProtractorBrowser` only copies over methods, so it doesn't actually
implement `WebDriver`'s interface.  This isn't a problem right now, since `WebDriver`'s interface
only has functions on it.  But it could be a problem in the future.
sjelin added a commit to sjelin/protractor that referenced this pull request Jan 30, 2017
I decided to address this comment:

angular#4000 (comment)

While doing do I decided to take on this TODO:

https://github.com/angular/protractor/blob/ccf02ab5f1070f0d7124318dc0099252f3c747e2/lib/browser.ts#L38

One possible issue here is that `ProtractorBrowser` only copies over methods, so it doesn't actually
implement `WebDriver`'s interface.  This isn't a problem right now, since `WebDriver`'s interface
only has functions on it.  But it could be a problem in the future.
sjelin added a commit that referenced this pull request Jan 30, 2017
I decided to address this comment:

#4000 (comment)

While doing do I decided to take on this TODO:

https://github.com/angular/protractor/blob/ccf02ab5f1070f0d7124318dc0099252f3c747e2/lib/browser.ts#L38

One possible issue here is that `ProtractorBrowser` only copies over methods, so it doesn't actually
implement `WebDriver`'s interface.  This isn't a problem right now, since `WebDriver`'s interface
only has functions on it.  But it could be a problem in the future.
igniteram pushed a commit to igniteram/protractor that referenced this pull request Feb 21, 2017
igniteram pushed a commit to igniteram/protractor that referenced this pull request Feb 21, 2017
I decided to address this comment:

angular#4000 (comment)

While doing do I decided to take on this TODO:

https://github.com/angular/protractor/blob/ccf02ab5f1070f0d7124318dc0099252f3c747e2/lib/browser.ts#L38

One possible issue here is that `ProtractorBrowser` only copies over methods, so it doesn't actually
implement `WebDriver`'s interface.  This isn't a problem right now, since `WebDriver`'s interface
only has functions on it.  But it could be a problem in the future.
bodyduardU pushed a commit to bodyduardU/protractor that referenced this pull request Dec 5, 2022
I decided to address this comment:

angular/protractor#4000 (comment)

While doing do I decided to take on this TODO:

https://github.com/angular/protractor/blob/ccf02ab5f1070f0d7124318dc0099252f3c747e2/lib/browser.ts#L38

One possible issue here is that `ProtractorBrowser` only copies over methods, so it doesn't actually
implement `WebDriver`'s interface.  This isn't a problem right now, since `WebDriver`'s interface
only has functions on it.  But it could be a problem in the future.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants