Kaydet (Commit) 753dd7c1 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: add the ModelessDialogVisible event to the execute_blocked_action

Change-Id: I5496bf0bcce442c60d2ecd4207734d0e8b17935b
Reviewed-on: https://gerrit.libreoffice.org/61026
Tested-by: Jenkins
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 18c2a6c5
......@@ -44,6 +44,9 @@ class EventListener(XDocumentEventListener,unohelper.Base):
if event.EventName in self.eventNames:
self.executed = True
def hasExecuted(self, eventName):
return eventName in self.eventExecuted
......@@ -196,7 +196,7 @@ class UITest(object):
thread = threading.Thread(target=action, args=args)
with EventListener(self._xContext, ["DialogExecute", "ModelessDialogExecute"], printNames=printNames) as event:
with EventListener(self._xContext, ["DialogExecute", "ModelessDialogExecute", "ModelessDialogVisible"], printNames=printNames) as event:
time_ = 0
# we are not necessarily opening a dialog, so wait much longer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment