Commit e893d815 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 5ee3acd0
...@@ -160,6 +160,8 @@ class FunctionalTestRunner: ...@@ -160,6 +160,8 @@ class FunctionalTestRunner:
capabilities = webdriver.common.desired_capabilities \ capabilities = webdriver.common.desired_capabilities \
.DesiredCapabilities.FIREFOX.copy() .DesiredCapabilities.FIREFOX.copy()
capabilities['marionette'] = True 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: # Service workers are disabled on Firefox 52 ESR:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1338144 # https://bugzilla.mozilla.org/show_bug.cgi?id=1338144
options = webdriver.FirefoxOptions() options = webdriver.FirefoxOptions()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment