diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-09-25 11:34:11 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-11-15 13:28:16 +0100 |
commit | 6eff37f8a2203886262381484fa37cef9c762243 (patch) | |
tree | 83a6c3d041c14af0c8693a7ff54c422578a7e7ac | |
parent | b7c7eaf8d9d2a131c642ff9b2b0681047af5d1fe (diff) | |
download | freeipa-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
-rw-r--r-- | ipatests/test_webui/ui_driver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py index 8603aa705..1c396b6d3 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': |