-
Notifications
You must be signed in to change notification settings - Fork 350
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
Adding OAuth2 authorization code e2e test. Closes #359. #371
Conversation
}); | ||
|
||
const driver = new webdriver.Builder() | ||
.forBrowser('chrome') |
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.
I believe we should use phantomjs as headless driver to no have chrome pop up.
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.
ok, I see headless mode, still it requires chrome to be installed. phantomjs is just a dev dependency
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.
@DrMegavolt, chromedriver is just a dev dependency, too. However, CircleCI is bombing on it for some reason, complaining about the chromedriver version. Might try phantom to see if it fairs better on CI. (https://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/phantomjs.html)
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.
@kevinswiber chromedriver is a plugin to selenium that operates on real chrome browser. you need to have chrome on it's own installed. PhantomJS is a browser on it's own not a plugin, so when you have phantomjs plugin for selenium that operates against phantomjs browser it will work. And PhantomJS browser can be a dependency
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.
Seems to have worked. Thanks!
Codecov Report
@@ Coverage Diff @@
## master #371 +/- ##
==========================================
+ Coverage 90.84% 90.96% +0.11%
==========================================
Files 188 193 +5
Lines 8062 8199 +137
==========================================
+ Hits 7324 7458 +134
- Misses 738 741 +3
Continue to review full report at Codecov.
|
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.
LGTM. Looks awesome.
No description provided.