Web UI integration test driver enhancement

Handle selecting an option from a select box.

https://fedorahosted.org/freeipa/ticket/3928
This commit is contained in:
Ana Krivokapic 2013-09-25 11:34:11 +02:00 committed by Petr Vobornik
parent b7c7eaf8d9
commit 6eff37f8a2

View File

@ -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':