summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-03-29 15:15:11 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-03-29 15:15:11 +0200
commitfd4217ffd2a75659d32b1284891beb72fe00b8be (patch)
treebe20f2fdc0c943c27a287fb5546c4e00114df16b
parent293a993b6bf9d0dad6119df111b65ece58e6a7e7 (diff)
downloadqutebrowser-fd4217ffd2a75659d32b1284891beb72fe00b8be.tar.gz
qutebrowser-fd4217ffd2a75659d32b1284891beb72fe00b8be.zip
tests: Make download error more forgiving
For unknown reasons, on nightly CI we now get TWO errors: <qutebrowser.browser.webkit.certificateerror.CertificateErrorWrapper errors=['NoPeerCertificate', 'SelfSignedCertificate'] string='The peer did not present any certificate\nThe certificate is self-signed, and untrusted'>
-rw-r--r--tests/end2end/features/downloads.feature2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/features/downloads.feature b/tests/end2end/features/downloads.feature
index 47835fd79..a71b50c34 100644
--- a/tests/end2end/features/downloads.feature
+++ b/tests/end2end/features/downloads.feature
@@ -603,7 +603,7 @@ Feature: Downloading things from a website.
And I set content.tls.certificate_errors to load-insecurely
And I download an SSL redirect page
# First error is due to the load-insecurely value above
- Then the error "Certificate error: The certificate is self-signed, and untrusted" should be shown
+ Then the error "Certificate error: *The certificate is self-signed, and untrusted" should be shown
And the error "Download error: Insecure redirect" should be shown
And the downloaded file download.bin should not exist