mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 06:32:00 -03:30
activation_tests.py: Don't reuse service instance in webdriver initialization
This commit is contained in:
parent
90fd93e888
commit
310e364a93
@ -141,7 +141,9 @@ def test_activation(IP, nc_port, admin_port, options, webdriver_exec_path=None,
|
||||
|
||||
# ncp-web
|
||||
test.new("ncp-web")
|
||||
# driver = webdriver.Firefox(options=options, **driver_kwargs)
|
||||
if webdriver_exec_path is not None:
|
||||
driver_kwargs['service'] = Service(webdriver_exec_path)
|
||||
driver = webdriver.Firefox(options=options, **driver_kwargs)
|
||||
driver.implicitly_wait(30)
|
||||
try:
|
||||
driver.get(f"https://ncp:{urllib.parse.quote_plus(ncp_pass)}@{IP}:{admin_port}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user