summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-09-25 11:34:11 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-11-15 13:28:16 +0100
commit6eff37f8a2203886262381484fa37cef9c762243 (patch)
tree83a6c3d041c14af0c8693a7ff54c422578a7e7ac /ipatests
parentb7c7eaf8d9d2a131c642ff9b2b0681047af5d1fe (diff)
downloadfreeipa-6eff37f8a2203886262381484fa37cef9c762243.tar.gz
freeipa-6eff37f8a2203886262381484fa37cef9c762243.tar.xz
freeipa-6eff37f8a2203886262381484fa37cef9c762243.zip
Web UI integration test driver enhancement
Handle selecting an option from a select box. https://fedorahosted.org/freeipa/ticket/3928
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_webui/ui_driver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py
index 8603aa70..1c396b6d 100644
--- a/ipatests/test_webui/ui_driver.py
+++ b/ipatests/test_webui/ui_driver.py
@@ -991,6 +991,8 @@ class UI_driver(object):
self.check_option(key, val, parent)
elif widget_type == 'checkbox':
self.check_option(key, parent=parent)
+ elif widget_type == 'selectbox':
+ self.select('select[name=%s]' % key, val, parent)
elif widget_type == 'combobox':
self.select_combobox(key, val, parent)
elif widget_type == 'add_table_record':