Commit e9e817e3 authored by Vincent Bechu's avatar Vincent Bechu

[ERP5Type/tests] Handle properly firefox binary string in functional test case.

/reviewed-on !505
parent ba2b3566
...@@ -152,8 +152,8 @@ class FunctionalTestRunner: ...@@ -152,8 +152,8 @@ class FunctionalTestRunner:
firefox_driver = firefox_bin.replace("firefox-slapos", "geckodriver") firefox_driver = firefox_bin.replace("firefox-slapos", "geckodriver")
firefox_capabilities = webdriver.common.desired_capabilities.DesiredCapabilities.FIREFOX firefox_capabilities = webdriver.common.desired_capabilities.DesiredCapabilities.FIREFOX
firefox_capabilities['marionette'] = True firefox_capabilities['marionette'] = True
firefox_capabilities['binary'] = firefox_bin
browser = webdriver.Firefox( browser = webdriver.Firefox(
firefox_binary=firefox_bin,
capabilities=firefox_capabilities, capabilities=firefox_capabilities,
executable_path=firefox_driver) executable_path=firefox_driver)
start_time = time.time() start_time = time.time()
......
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