Skip to content

ignore https errors when running e2e/integration tests

Administrator requested to merge e2e-integration-test-https into main

Created by: sqs

We use https for local dev, but our self-signed certificates aren't trusted by all systems reliably (despite Caddy's best efforts at making this smooth). A common case is where you're developing in Chrome and you've manually accepted the cert, but your system doesn't trust it systemwide. In that case, the e2e and integration tests will fail because the vendored Chromium/Firefox doesn't trust your cert. This ignoreHTTPSErrors setting is necessary to run the tests in that case (and bypass the Error: net::ERR_CERT_AUTHORITY_INVALID at https://sourcegraph.test:3443 error in the test output)

I can't think of a realistic downside to setting this, and it will probably save people many minutes here and there.

Merge request reports

Loading