Commit 288e0444 authored by Jérome Perrin's avatar Jérome Perrin

ERP5TypeFunctionalTestCase: configure firefox to grant location access

This would catch potential problems only occuring when the location has
been granted.
parent 42eba2ee
...@@ -244,6 +244,8 @@ class FunctionalTestRunner: ...@@ -244,6 +244,8 @@ class FunctionalTestRunner:
options.set_preference("browser.download.manager.showWhenStarting", False) options.set_preference("browser.download.manager.showWhenStarting", False)
options.set_preference("dom.block_download_insecure", False) options.set_preference("dom.block_download_insecure", False)
options.set_preference("pdfjs.disabled", True) options.set_preference("pdfjs.disabled", True)
# always grant location
options.set_preference("permissions.default.geo", 1)
selenium_test_runner_configuration = {} selenium_test_runner_configuration = {}
test_runner_configuration_file = os.environ.get('ERP5_TEST_RUNNER_CONFIGURATION') test_runner_configuration_file = os.environ.get('ERP5_TEST_RUNNER_CONFIGURATION')
......
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