diff options
Diffstat (limited to 'ipatests/test_webui')
-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): |