How do I get a self signed local domain be trusted in Cypress? #20409
Unanswered
SaiMadhav9494
asked this question in
Component Testing
Replies: 1 comment
-
Same issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue:
I have a web app running on https in my local, using mkcert as my CA. It is trusted in all the browsers, but when I visit the app in Cypress's browser, the certificate is not getting validated. I see that Cypress has its own CA and tried some workarounds mentioned in #771. Nothing seemed to work for me as I am hoping to get a better solution.
Environment:
Chrome:
Cypress:
Code:
Also, the local app also gets a cookie from its super domain, but I can't see the cookie being set when opening with Cypress. And inside the local app, there is a check for the cookie and if not found, we redirect the user to that super domain's login page running on https.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions