From fe236316dea45235e4d13e45ca2b64911052f858 Mon Sep 17 00:00:00 2001 From: Yogesh Mahajan Date: Thu, 1 Apr 2021 13:07:28 +0530 Subject: [PATCH] =?UTF-8?q?Rename=20the=20video=20and=20log=20file=20creat?= =?UTF-8?q?ed=20by=C2=A0Selenium=20tests.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/regression/python_test_utils/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/regression/python_test_utils/test_utils.py b/web/regression/python_test_utils/test_utils.py index 0a401bf93..106b69189 100644 --- a/web/regression/python_test_utils/test_utils.py +++ b/web/regression/python_test_utils/test_utils.py @@ -1347,8 +1347,8 @@ def get_remote_webdriver(hub_url, browser, browser_ver, test_name): :param test_name: test name :return: remote web-driver instance for specified browser """ - test_name = browser + browser_ver + "_" + test_name + "-" + time.strftime( - "%m_%d_%y_%H_%M_%S", time.localtime()) + test_name = time.strftime("%m_%d_%y_%H_%M_%S_", time.localtime()) + \ + test_name.replace(' ', '_') + '_' + browser + browser_ver driver_local = None desired_capabilities = { "version": browser_ver,