-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix(local): allow local driver provider to use gecko driver from config #4412
Conversation
Circle fails clang-format. Do we need to update? Which version are you using? |
@@ -55,9 +55,9 @@ export class ConfigParser { | |||
* @return {Array} The resolved file paths. | |||
*/ | |||
public static resolveFilePatterns( | |||
patterns: Array<string>|string, opt_omitWarnings?: boolean, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix clang-format before merging, though.
Out of practice. I force pushed the branch but I forgot to stage my changes to the branch. 🤦♂️ |
bec33ad
to
db0dd1b
Compare
Hmmm....
... but '5' is equal to '10'! Pounds the square peg in the circular hole. Alright I'll go fix this too. |
Looks like it has something to do with: SeleniumHQ/selenium#3693
|
Nope, directConnect with Firefox:
|
Also does not work with directConnect for Chrome. 👎 |
Per the issue above, we could wait for selenium-webdriver release or comment out the test and revisit it later. |
spec/basicConf.js
Outdated
@@ -13,6 +13,8 @@ exports.config = { | |||
|
|||
// Exclude patterns are relative to this directory. | |||
exclude: [ | |||
// TODO(cnishina): update when mouseMoveTo works in the next release of selenium-webdriver. | |||
'basic/action_spec.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this, could you change the test in action_spec.js to xit()
and put the comment there? I think it'll be easier to keep track of that way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Somehow this does not work anyway. I'll move the // TODO
comment
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts. - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder. - Fix transpile errors in locator. Missing toString in ProtractorLocator interface. - Fix transpile errors in element. Cast wdpromise.Promise<{}> to wdpromise.Promise<T>. - xit spec/basic/action_spec.js based on [selenium-webdriver issue angular#3693](SeleniumHQ/selenium#3693). Added a // TODO comment to remove xit when selenium-webdriver resolves issue. closes angular#4408 and closes angular#4411.
Just a question, but isn't it "dangerous" to merge this PR in the source saying it's fixed if there isn't a new release to npm for this? Or will there be a release today? |
driver provider.
value set in the config or to check locally in the
webdriver-manager/selenium folder.
interface.
wdpromise.Promise.
selenium-webdriver issue #3693.
Added a // TODO comment to remove xit when selenium-webdriver resolves issue.
closes #4408 and closes #4411.