diff --git a/tests/console/include/collection_functions.py b/tests/console/include/collection_functions.py index 13e419c98c..be44475b0f 100644 --- a/tests/console/include/collection_functions.py +++ b/tests/console/include/collection_functions.py @@ -52,7 +52,7 @@ def edit_collection(driver,name,new_name=None,group=None,description=None): if new_name != None: driver.find_element_by_id("text-name").clear() - driver.find_element_by_id("text-name").send_keys(name) + driver.find_element_by_id("text-name").send_keys(new_name) if group != None: driver.find_element_by_xpath('//option[contains(.,"'+group+'")]').click()