From 6eff37f8a2203886262381484fa37cef9c762243 Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Wed, 25 Sep 2013 11:34:11 +0200 Subject: Web UI integration test driver enhancement Handle selecting an option from a select box. https://fedorahosted.org/freeipa/ticket/3928 --- ipatests/test_webui/ui_driver.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipatests/test_webui') 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': -- cgit