From 23c042775c0b6d918e7f05229a834622382e66fb Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 18 Oct 2013 12:14:25 +0200 Subject: RCUE dialog implementation https://fedorahosted.org/freeipa/ticket/3904 --- ipatests/test_webui/ui_driver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ipatests/test_webui') diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py index b4f02ab0f..8ffb1e9b3 100644 --- a/ipatests/test_webui/ui_driver.py +++ b/ipatests/test_webui/ui_driver.py @@ -504,10 +504,10 @@ class UI_driver(object): info = None if dialog: - content = self.find('div.ui-dialog-content', By.CSS_SELECTOR, dialog, strict=True) + body = self.find('.rcue-dialog-body', By.CSS_SELECTOR, dialog, strict=True) info = { - 'name': content.get_attribute('data-name'), - 'text': content.text, + 'name': dialog.get_attribute('data-name'), + 'text': body.text, } return info @@ -563,7 +563,7 @@ class UI_driver(object): if not dialog: dialog = self.get_dialog(strict=True) - s = "div.ui-dialog-buttonset button[name=%s]" % name + s = ".rcue-dialog-buttons button[name=%s]" % name self._button_click(s, dialog, name) def action_button_click(self, name, parent): -- cgit