diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-10-18 12:14:25 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-01-21 12:04:02 +0100 |
commit | 23c042775c0b6d918e7f05229a834622382e66fb (patch) | |
tree | c87de1fbe11ff84a99f33f527245e6bac0f51164 /ipatests/test_webui/ui_driver.py | |
parent | d4a6f20e65d8ba526e346eb134bb9b467fcbabad (diff) | |
download | freeipa-23c042775c0b6d918e7f05229a834622382e66fb.tar.gz freeipa-23c042775c0b6d918e7f05229a834622382e66fb.tar.xz freeipa-23c042775c0b6d918e7f05229a834622382e66fb.zip |
RCUE dialog implementation
https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'ipatests/test_webui/ui_driver.py')
-rw-r--r-- | ipatests/test_webui/ui_driver.py | 8 |
1 files changed, 4 insertions, 4 deletions
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): |