@@ -175,7 +175,8 @@ class QQuickView(emulators.UnityEmulatorBase):
175 objectName='pinPadButton{}'.format(button_id)
175 objectName='pinPadButton{}'.format(button_id)
178− def wait_for_notification_dialog(self):
178+ @autopilot_logging.log_action(logger.info)
179+ def wait_for_notification(self):
179 """Wait for a notification dialog to appear.
180 """Wait for a notification dialog to appear.
181 :return: An object for the notification dialog data.
182 :return: An object for the notification dialog data.
@@ -187,6 +188,6 @@ class QQuickView(emulators.UnityEmulatorBase):
187 objectName='notificationList')
188 objectName='notificationList')
188 visible_notification = notify_list.wait_select_single('Notification',
189 visible_notification = notify_list.wait_select_single('Notification',
189 visible=True)
190 visible=True)
190− return { "summary": visible_notification.summary,
191+ return {'summary': visible_notification.summary,
191− "body": visible_notification.body,
192+ 'body': visible_notification.body,
192− "iconSource": visible_notification.iconSource }
193+ 'iconSource': visible_notification.iconSource}