mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Rename the video and log file created by Selenium tests.
This commit is contained in:
parent
27bb7d8c7a
commit
fe236316de
@ -1347,8 +1347,8 @@ def get_remote_webdriver(hub_url, browser, browser_ver, test_name):
|
|||||||
:param test_name: test name
|
:param test_name: test name
|
||||||
:return: remote web-driver instance for specified browser
|
:return: remote web-driver instance for specified browser
|
||||||
"""
|
"""
|
||||||
test_name = browser + browser_ver + "_" + test_name + "-" + time.strftime(
|
test_name = time.strftime("%m_%d_%y_%H_%M_%S_", time.localtime()) + \
|
||||||
"%m_%d_%y_%H_%M_%S", time.localtime())
|
test_name.replace(' ', '_') + '_' + browser + browser_ver
|
||||||
driver_local = None
|
driver_local = None
|
||||||
desired_capabilities = {
|
desired_capabilities = {
|
||||||
"version": browser_ver,
|
"version": browser_ver,
|
||||||
|
Loading…
Reference in New Issue
Block a user