From 41ace68e0420fc731c0005ee01a839bc6a7fd995 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Wed, 20 Jul 2016 16:15:34 +0200 Subject: Set default delete action name to 'delete' Only specific delete actions will be explicitely set. Part of: https://fedorahosted.org/freeipa/ticket/6052 Reviewed-By: Lenka Doudova --- ipatests/test_webui/ui_driver.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py index 40cdad3c7..7c4ca75ef 100644 --- a/ipatests/test_webui/ui_driver.py +++ b/ipatests/test_webui/ui_driver.py @@ -1289,7 +1289,6 @@ class UI_driver(object): ) # Find - self.find_record(parent_entity, data, search_facet) # 3. Navigate to details facet @@ -1458,11 +1457,11 @@ class UI_driver(object): self.assert_no_error_dialog() self.assert_class(title, 'disabled') - def delete_action(self, entity, pkey, facet='search'): + def delete_action(self, entity, pkey, action='delete', facet='search'): """ Execute and test 'delete' action panel action. """ - self.action_list_action('delete') + self.action_list_action(action) self.wait_for_request(n=4) self.assert_no_error_dialog() self.assert_facet(entity, facet) -- cgit