mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
RCUE dialog implementation
https://fedorahosted.org/freeipa/ticket/3904
This commit is contained in:
committed by
Martin Kosek
parent
d4a6f20e65
commit
23c042775c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user