-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
test: add e2e tests for https
option
#3776
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
Conversation
@@ -20,6 +20,7 @@ function runBrowser(config) { | |||
puppeteer | |||
.launch({ | |||
headless: true, | |||
ignoreHTTPSErrors: true, |
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.
Due invalid localhost cert? Let's add comment about it
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, done 👍🏻
Codecov Report
@@ Coverage Diff @@
## master #3776 +/- ##
=======================================
Coverage 93.03% 93.03%
=======================================
Files 14 14
Lines 1321 1321
Branches 463 463
=======================================
Hits 1229 1229
Misses 85 85
Partials 7 7 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.
Feel free to merge when it will be green
Note, coverage should be not changed when we rewrite tests, because we can missing something from old tests |
All green ✅ |
Thanks |
For Bugs and Features; did you add new tests?
Yes
Motivation / Use-Case
add e2e tests for
https
option.Breaking Changes
No
Additional Info
puppeteer having issues accepting SSL with
requestCert: true
, throwing errornet::ERR_BAD_SSL_CLIENT_AUTH_CERT
, hence testing withsupertest
for this case.