summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-07-20 16:15:34 +0200
committerMartin Basti <mbasti@redhat.com>2016-07-27 19:23:28 +0200
commit41ace68e0420fc731c0005ee01a839bc6a7fd995 (patch)
tree319d9f9b1b16413c404d619aa7a0deb63c607ad5 /ipatests/test_webui
parent73ef15ccb49671f0fd401018e68675e16f674bd3 (diff)
downloadfreeipa-41ace68e0420fc731c0005ee01a839bc6a7fd995.tar.gz
freeipa-41ace68e0420fc731c0005ee01a839bc6a7fd995.tar.xz
freeipa-41ace68e0420fc731c0005ee01a839bc6a7fd995.zip
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 <ldoudova@redhat.com>
Diffstat (limited to 'ipatests/test_webui')
-rw-r--r--ipatests/test_webui/ui_driver.py5
1 files 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)