From 1e91706ec127bfa0ce84d71ebe6dc7b2feca0090 Mon Sep 17 00:00:00 2001 From: cesar991 Date: Wed, 20 Jul 2016 15:20:32 +0200 Subject: [PATCH] Repair error variable new_name in edit_collection function --- tests/console/include/collection_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()