From e4596f75d8810d56263913b6559a3e4d7130ca1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 28 Aug 2018 09:12:17 +0200 Subject: [PATCH] ERP5TypeFunctionalTestCase: tell selenium to ignore certificate errors We now access zserver behind the backend apache on https:// and this apache's certificate is not trusted --- product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py index 2334041e7e..afcd748a0f 100644 --- a/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py @@ -160,6 +160,8 @@ class FunctionalTestRunner: capabilities = webdriver.common.desired_capabilities \ .DesiredCapabilities.FIREFOX.copy() capabilities['marionette'] = True + # Zope is accessed through apache with a certificate not trusted by firefox + capabilities['acceptInsecureCerts'] = True # Service workers are disabled on Firefox 52 ESR: # https://bugzilla.mozilla.org/show_bug.cgi?id=1338144 options = webdriver.FirefoxOptions() -- 2.30.9