You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has to be checked if certutil needs to be present if we put this in cypress or if there is a node dependency which can do the same.
Cypress needs to run once to generate the ca.pem, that why we currently create an empty testsuite in the workaround. If cypress installs the CA itself, of course this can be done in a cleaner way.
If certutil is required, --auto-import-ca could just print an error, that certutil needs to be installed first.
The text was updated successfully, but these errors were encountered:
amenk
changed the title
Add --auto-import-ca Option
Add --auto-import-ca Option to speed up tests in Chrome
May 12, 2023
@amenk , Thank you for submitting your feature request. Cypress Product Managers will review this request and consider it for future implementation. Please remember we cannot guarantee this will be implemented in a specific timeframe or at all. Please see the Cypress App Product Roadmap for what we currently have in the works.
This issue is causing my lighthouse performance audit tests to fail and I cannot seem to figure out how to get the workaround to work on the latest Cypress version (v13.6.0). I use the cypress-audit plugin and this opens up a new tab in the cypress runner browser to execute the performance audit -- the issue is that it loads on http which doesn't allow my app to access a certain header required to load my app correctly.
I reported this issue in 2021, it was merged with this ticket and the cache issue was reported even earlier (in 2019 - I found it from those forums)... It was closed due to "Lack of activity"...
Wouldn't it be a time to tell us the approximate time? Another 2 years or we wait till this ticket is also "lack of activity" and then merge with someone else who "recently" reported it and make it seem like its "just new"?
What would you like?
As described in #7307, Google Chrome has severe performance issues for untrusted websites.
Why is this needed?
Cypress uses a own CA to issue certificates, so Cypress tests run slow, because now Chrome does not cache anything anymore.
Other
The certificate can be imported like this as a workaround:
Prequirements (example for Debian Linux based systems):
Installing the CA:
It has to be checked if
certutil
needs to be present if we put this in cypress or if there is a node dependency which can do the same.Cypress needs to run once to generate the
ca.pem
, that why we currently create an empty testsuite in the workaround. If cypress installs the CA itself, of course this can be done in a cleaner way.If
certutil
is required,--auto-import-ca
could just print an error, thatcertutil
needs to be installed first.The text was updated successfully, but these errors were encountered: